scripts/cli in rvm-1.1.3 vs scripts/cli in rvm-1.1.4
- old
+ new
@@ -168,11 +168,11 @@
rvm_parse_break=1
;;
-e)
rvm_action="ruby"
- rvm_ruby_args="$rvm_token $next_token $(__rvm_quote_args "$@")"
+ IFS="\n" ; rvm_ruby_args="$rvm_token '$next_token $@'" ; IFS=" "
rvm_parse_break=1
;;
docs|alias|rubygems|exec|cleanup|tools|disk-usage|snapshot|repair|migrate|upgrade)
rvm_action="$rvm_token"
@@ -219,11 +219,11 @@
rvm_ruby_args="$flag $next_token $(__rvm_quote_args "$@")"
rvm_parse_break=1
elif [[ "-e" = "$next_token" ]] ; then
rvm_action="ruby"
- rvm_ruby_args="$flag $next_token $(__rvm_quote_args "$@")"
+ IFS="\n" ; rvm_ruby_args="$flag $next_token '$@'" ; IFS=" "
rvm_parse_break=1
else
rvm_ruby_args="$next_token $@"
rvm_parse_break=1
@@ -450,10 +450,9 @@
-s|--silent) rvm_silent_flag=1 ;;
--disable-llvm|--disable-jit) rvm_llvm_flag=0 ;;
--enable-llvm|--enable-jit) rvm_llvm_flag=1 ;;
--install) rvm_install_on_use_flag=1 ;;
--pretty) rvm_pretty_print_flag=1 ;;
-
reboot|damnit|wtf|argh|BOOM|boom|wth) $rvm_action="reboot" ;;
--self|--gem|--rubygems|--reconfigure|--default|--force|--export|--summary|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose|--import|--rvmrc|--sticky|--create|--gems|--docs)
export "rvm_${rvm_token//-/}_flag"=1