rvm 0.0.72 → 0.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/config/db +2 -1
- data/lib/VERSION.yml +1 -1
- data/rvm.gemspec +1 -1
- data/scripts/ruby-installer +12 -16
- data/scripts/selector +2 -7
- data/scripts/utility +4 -2
- metadata +1 -1
data/config/db
CHANGED
@@ -5,8 +5,9 @@ shyouhei_repo_url=git://github.com/shyouhei/ruby.git
|
|
5
5
|
macruby_version=nightly
|
6
6
|
macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git
|
7
7
|
macruby_nightly_url=http://macruby.icoretech.org/latest
|
8
|
-
jruby_version=1.
|
8
|
+
jruby_version=1.4.0
|
9
9
|
jruby_repo_url=git://github.com/jruby/jruby.git
|
10
|
+
jruby_url=http://jruby.kenai.com/downloads/
|
10
11
|
ruby_configure=--enable-shared
|
11
12
|
interpreter=ruby
|
12
13
|
ruby_version=1.8.6
|
data/lib/VERSION.yml
CHANGED
data/rvm.gemspec
CHANGED
data/scripts/ruby-installer
CHANGED
@@ -342,27 +342,23 @@ RubyWrapper
|
|
342
342
|
|
343
343
|
cd "$rvm_ruby_src_path"
|
344
344
|
ant dist
|
345
|
-
|
346
345
|
else
|
347
|
-
if [[ -
|
348
|
-
|
346
|
+
if [[ -z "$rvm_force_flag" ]] && [[ -f $rvm_package_file ]] && [[ -s $rvm_package_file ]] ; then
|
347
|
+
__rvm_log "info" "It appears that $rvm_package_file has already been downloaded, skipping. Use --force to force re-download."
|
349
348
|
else
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
__rvm_run "extract" "tar zxf $rvm_archives_path/$rvm_package_file.tar.gz -C $rvm_src_path" "Extracting $rvm_package_file..."
|
357
|
-
if [[ "$rvm_package_file" != "$rvm_ruby_string" ]] ; then
|
358
|
-
mv $rvm_src_path/$rvm_package_file $rvm_src_path/$rvm_ruby_string
|
359
|
-
fi
|
360
|
-
cd $rvm_ruby_src_path
|
349
|
+
__rvm_log "info" "Downloading $rvm_package_file, this may take a while depending on your connection..."
|
350
|
+
__rvm_fetch "$rvm_url"
|
351
|
+
fi
|
352
|
+
__rvm_run "extract" "tar zxf $rvm_archives_path/$rvm_package_file.tar.gz -C $rvm_src_path" "Extracting $rvm_package_file..."
|
353
|
+
if [[ "$rvm_package_file" != "$rvm_ruby_string" ]] ; then
|
354
|
+
mv "$rvm_src_path/$rvm_package_file" "$rvm_src_path/$rvm_ruby_string"
|
361
355
|
fi
|
356
|
+
cd "$rvm_ruby_src_path"
|
362
357
|
fi
|
363
358
|
|
364
|
-
mkdir -p $rvm_ruby_home/bin/
|
365
|
-
|
359
|
+
mkdir -p "$rvm_ruby_home/bin/"
|
360
|
+
cd "$rvm_ruby_src_path/tool/nailgun" && /usr/bin/make $rvm_make_flags
|
361
|
+
|
366
362
|
__rvm_pushpop
|
367
363
|
|
368
364
|
if [[ -z "$rvm_ruby_home" ]] || [[ "$rvm_ruby_home" = "/" ]] ; then echo "WTH?!?! rvm_ruby_home == / ??? not removing." ; return 1000000 ; fi
|
data/scripts/selector
CHANGED
@@ -57,16 +57,11 @@ function __rvm_select {
|
|
57
57
|
rvm_ruby_string="jruby-head"
|
58
58
|
rvm_ruby_repo_url="${rvm_ruby_repo_url:-$(__rvm_db "jruby_repo_url")}"
|
59
59
|
rvm_url="${rvm_ruby_repo_url:-$(__rvm_db "jruby_repo_url")}"
|
60
|
-
elif match "$rvm_ruby_version" "^1.4" ; then
|
61
|
-
rvm_url="http://jruby.kenai.com/downloads/$rvm_ruby_interpreter/$rvm_ruby_version/$rvm_package_file.tar.gz"
|
62
|
-
rvm_ruby_version="1.4.0RC3"
|
63
|
-
rvm_ruby_string="jruby-1.4.0RC3"
|
64
|
-
rvm_package_file="$rvm_ruby_interpreter-bin-${rvm_ruby_version}"
|
65
60
|
else
|
66
61
|
rvm_ruby_version="${rvm_ruby_version:-"$(__rvm_db "jruby_version")"}"
|
67
|
-
|
68
|
-
rvm_package_file="$rvm_ruby_interpreter-bin-$rvm_ruby_version"
|
62
|
+
rvm_package_file="${rvm_ruby_interpreter}-bin-${rvm_ruby_version}"
|
69
63
|
rvm_ruby_string="${rvm_ruby_interpreter}-${rvm_ruby_version}"
|
64
|
+
rvm_url="http://jruby.kenai.com/downloads/${rvm_ruby_version}/${rvm_package_file}.tar.gz"
|
70
65
|
fi
|
71
66
|
alias jruby_ng="jruby --ng"
|
72
67
|
alias jruby_ng_server="jruby --ng-server"
|
data/scripts/utility
CHANGED
@@ -384,11 +384,13 @@ __rvm_db() {
|
|
384
384
|
__rvm_list() {
|
385
385
|
if [[ ! -z "$rvm_all_flag" ]] ; then
|
386
386
|
svn list http://svn.ruby-lang.org/repos/ruby/tags/ | grep 'v1_[8|9]' | sed 's#^v1_##' | sed 's#/$##' | awk -F'_' '{print "1."$1"."$2 " -l "$3}' | sed 's#p$##'
|
387
|
-
echo -e "jruby 1.2.0\njruby 1.3.0\njruby
|
387
|
+
echo -e "jruby 1.2.0\njruby 1.3.0\njruby 1.3.1\njruby (1.4.0, the default)\njruby --head"
|
388
388
|
echo -e "rbx (rubinius head, the default)\nrbx-head --jit"
|
389
389
|
echo -e "ree 1.8.6-head\nree (1.8.7, the default)"
|
390
|
-
echo -e "macruby-nightly (macruby-nightly, the default)\nmacruby-head"
|
391
390
|
echo -e "mput head (shyouhei head, the default)"
|
391
|
+
if [[ "Darwin" = "$(uname)" ]] ; then
|
392
|
+
echo -e "macruby-nightly (macruby-nightly, the default)\nmacruby-head"
|
393
|
+
fi
|
392
394
|
else
|
393
395
|
current_ruby="$(which ruby | xargs dirname | xargs dirname | xargs basename 2> /dev/null)"
|
394
396
|
echo -e "\nruby:\n"
|