rvm 0.0.70 → 0.0.71
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/VERSION.yml +1 -1
- data/rvm.gemspec +1 -1
- data/scripts/utility +36 -8
- metadata +1 -1
data/lib/VERSION.yml
CHANGED
data/rvm.gemspec
CHANGED
data/scripts/utility
CHANGED
@@ -401,9 +401,9 @@ __rvm_list() {
|
|
401
401
|
fi
|
402
402
|
done ; unset version
|
403
403
|
|
404
|
-
echo -e "\
|
405
|
-
for version in $(/bin/ls
|
406
|
-
string
|
404
|
+
echo -e "\nree:\n"
|
405
|
+
for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/ree-.*/ { print $NF }') ; do
|
406
|
+
string="$($rvm_path/$version/bin/ruby -v | tr "\n" ' ' )"
|
407
407
|
if [[ "$version" = "$current_ruby" ]] ; then
|
408
408
|
echo -e "=> $version : $string"
|
409
409
|
selected="1"
|
@@ -412,8 +412,8 @@ __rvm_list() {
|
|
412
412
|
fi
|
413
413
|
done ; unset version
|
414
414
|
|
415
|
-
echo -e "\
|
416
|
-
for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/
|
415
|
+
echo -e "\nmput:\n"
|
416
|
+
for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/mput-.*/ { print $NF }') ; do
|
417
417
|
string="$($rvm_path/$version/bin/ruby -v | tr "\n" ' ' )"
|
418
418
|
if [[ "$version" = "$current_ruby" ]] ; then
|
419
419
|
echo -e "=> $version : $string"
|
@@ -423,9 +423,9 @@ __rvm_list() {
|
|
423
423
|
fi
|
424
424
|
done ; unset version
|
425
425
|
|
426
|
-
echo -e "\
|
427
|
-
for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/
|
428
|
-
string
|
426
|
+
echo -e "\njruby:\n"
|
427
|
+
for version in $(/bin/ls -l $rvm_path/ 2> /dev/null | awk '/jruby-.*/ { print $NF }') ; do
|
428
|
+
string=$($rvm_path/$version/bin/ruby -v)
|
429
429
|
if [[ "$version" = "$current_ruby" ]] ; then
|
430
430
|
echo -e "=> $version : $string"
|
431
431
|
selected="1"
|
@@ -434,6 +434,34 @@ __rvm_list() {
|
|
434
434
|
fi
|
435
435
|
done ; unset version
|
436
436
|
|
437
|
+
echo -e "\nrbx:\n"
|
438
|
+
# for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/rbx-.*/ { print $NF }') ; do
|
439
|
+
for version in "rbx-head" ; do
|
440
|
+
if [[ -f "$rvm_path/$version/bin/ruby" ]] ; then
|
441
|
+
string="$($rvm_path/$version/bin/ruby -v | tr "\n" ' ' )"
|
442
|
+
if [[ "$version" = "$current_ruby" ]] ; then
|
443
|
+
echo -e "=> $version : $string"
|
444
|
+
selected="1"
|
445
|
+
else
|
446
|
+
echo -e " $version : $string"
|
447
|
+
fi
|
448
|
+
fi
|
449
|
+
done ; unset version
|
450
|
+
|
451
|
+
|
452
|
+
if [[ "Darwin" = "$(uname)" ]] ; then
|
453
|
+
echo -e "\nmacruby:\n"
|
454
|
+
for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/macruby-.*/ { print $NF }') ; do
|
455
|
+
string="$($rvm_path/$version/bin/ruby -v | tr "\n" ' ' )"
|
456
|
+
if [[ "$version" = "$current_ruby" ]] ; then
|
457
|
+
echo -e "=> $version : $string"
|
458
|
+
selected="1"
|
459
|
+
else
|
460
|
+
echo -e " $version : $string"
|
461
|
+
fi
|
462
|
+
done ; unset version
|
463
|
+
fi
|
464
|
+
|
437
465
|
if [[ -f "$rvm_path/default" ]] && [[ -s $rvm_path/default ]] ; then
|
438
466
|
version=$(grep '^MY_RUBY_HOME' ~/.rvm/default | awk -F"'" '{print $2}' | xargs basename)
|
439
467
|
if [[ ! -z "$version" ]] ; then
|