scripts/cli in rvm-0.1.13 vs scripts/cli in rvm-0.1.14

- old
+ new

@@ -54,16 +54,17 @@ export rvm_ruby_args="$*" ; export rvm_${1}_flag=1 ; shift elif [[ "clear" = "$1" ]] ; then unset rvm_gem_set_name ; shift export rvm_ruby_gem_home="$(echo $GEM_HOME | sed 's/%.*$//')" export GEM_HOME="$rvm_ruby_gem_home" - export GEM_PATH="$rvm_ruby_gem_path" + export BUNDLE_PATH="$rvm_ruby_gem_home" + export GEM_PATH="$rvm_ruby_gem_home/bin:$rvm_ruby_gem_home%global/bin" rvm_ruby_args="clear" rvm_parse_break=1 elif [[ "delete" = "$1" ]] ; then - export rvm_delete_flag=1 ; shift - rvm_ruby_args="$*" + export rvm_delete_flag=1 + rvm_ruby_args="$*" ; shift rvm_gem_set_name="$1"; shift rvm_ruby_string=$(echo $rvm_gem_set_name | sed 's/\(.*\)%.*/\1/') rvm_gem_set_name=$(echo $rvm_gem_set_name | sed 's/.*%\(.*\)/\1/') if [[ "$rvm_ruby_string" != "$rvm_gem_set_name" ]] ; then export rvm_ruby_string ; fi if [[ ! -z "$rvm_gem_set_name" ]] ; then export rvm_gem_set_name ; fi @@ -278,10 +279,10 @@ --trace) export rvm_trace_flag=1 ; set -x ;; --proxy) export rvm_proxy="$1" ; shift ;; --disable-llvm|--disable-jit) export rvm_llvm_flag=0 ;; --enable-llvm|--enable-jit) export rvm_llvm_flag=1 ;; - --self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--all|--dump|--summary|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose|--load|--passenger|--editor) + --self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--all|--dump|--summary|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose|--load|--rvmrc|--passenger|--editor) export rvm_$(echo $rvm_token | sed 's#-##g')_flag=1 if [[ "--debug" = "$rvm_token" ]] ; then export rvm_debug_flag ; fi ;; reboot|flush|asdf|damnit|wtf|argh|work|workdamnit|BOOM|boom|wth)