scripts/selector in rvm-0.1.6 vs scripts/selector in rvm-0.1.7

- old
+ new

@@ -291,11 +291,11 @@ if [[ ! -z "$rvm_verbose_flag" ]] ; then $rvm_scripts_path/log "info" "Now using $(echo $rvm_ruby_string | tr '-' ' ')" fi new_path="$(echo $PATH | tr ':' '\n' | awk '$0 !~ /rvm/' | paste -sd : -)" - new_path="$MY_RUBY_HOME/bin:$GEM_HOME/bin:$GEM_HOME%global/bin:$rvm_bin_path:$new_path" + new_path="$MY_RUBY_HOME/bin:$GEM_HOME/bin:$rvm_gems_path/$rvm_ruby_global_gems_path/bin:$rvm_bin_path:$new_path" fi if [[ ! -z "$rvm_default_flag" ]] && [[ "default" != "$rvm_ruby_interpreter" ]] ; then if [[ "root" = "$(whoami)" ]] ; then for binary in erb gem irb rake rdoc ri ruby testrb ; do @@ -311,10 +311,10 @@ rm -f $rvm_bin_path/default* else RUBY_VERSION="$($rvm_ruby_home/bin/ruby -v | sed 's#^\(.*\) (.*$#\1#')" export GEM_HOME GEM_PATH MY_RUBY_HOME RUBY_VERSION - echo "export PATH=\"$rvm_ruby_home/bin:$rvm_ruby_gem_home/bin:$rvm_ruby_gem_home%global/bin:$rvm_bin_path:\$PATH\"" > $rvm_config_path/default + echo "export PATH=\"$rvm_ruby_home/bin:$rvm_ruby_gem_home/bin:$rvm_ruby_global_gems_path/bin:$rvm_bin_path:\$PATH\"" > $rvm_config_path/default for variable in RUBY_VERSION GEM_HOME GEM_PATH MY_RUBY_HOME IRBRC rvm_ruby_string rvm_gem_set_name MAGLEV_HOME ; do eval "export $variable" eval value=\$${variable} if [[ ! -z "$value" ]] ; then