scripts/cli in rvm-0.0.999 vs scripts/cli in rvm-0.0.9999
- old
+ new
@@ -38,11 +38,12 @@
rvm_action=${rvm_action:-use}
rvm_ruby_interpreter="$rvm_token"
rvm_ruby_string="$rvm_token"
;;
- jruby|ree|macruby|rbx|rubinius|mput|shyouhei|ironruby|default|all)
+ # Can likely remove this due to the *) case
+ jruby|ree|macruby|rbx|rubinius|mput|shyouhei|ironruby|default|maglev|all)
rvm_ruby_interpreter="$rvm_token"
rvm_ruby_string="$rvm_token"
rvm_action="${rvm_action:-use}"
if $rvm_scripts_path/match "$1" "^[0-9]\.[0-9]" ; then rvm_ruby_version=$1 ; shift ; fi
;;
@@ -114,10 +115,10 @@
else
if $rvm_scripts_path/match "$1" "^[0-9]" ; then
rvm_ruby_version=$(echo "$1" | tr ',' ' ') ; shift
unset rvm_ruby_interpreter
else
- if $rvm_scripts_path/match "ruby rbx jruby macruby ree rubinius mput shyouhei ironruby" "$1" ; then
+ if $rvm_scripts_path/match "ruby rbx jruby macruby ree rubinius maglev mput shyouhei ironruby" "$1" ; then
rvm_ruby_interpreter=$1 ; shift
else
unset rvm_ruby_interpreter rvm_ruby_version
fi
fi