scripts/selector in rvm-1.0.15 vs scripts/selector in rvm-1.0.17

- old
+ new

@@ -2,11 +2,11 @@ # __rvm_select implementation version patch_level __rvm_select() { # Set Variable Defaults - export GEM_HOME GEM_PATH BUNDLE_PATH MY_RUBY_HOME RUBY_VERSION + __rvm_export_if_set GEM_HOME GEM_PATH BUNDLE_PATH MY_RUBY_HOME RUBY_VERSION if [[ -z "${rvm_ruby_string:-""}" ]] ; then [[ -n "${rvm_ruby_interpreter:-""}" ]] && rvm_ruby_string="$rvm_ruby_interpreter" [[ -n "${rvm_ruby_version:-""}" ]] && rvm_ruby_string="$rvm_ruby_string-$rvm_ruby_version" [[ -n "${rvm_ruby_patch_level:-""}" ]] && rvm_ruby_string="$rvm_ruby_string-$rvm_ruby_patch_level" @@ -460,11 +460,16 @@ fi # Stash the ruby string. ruby_string=${rvm_ruby_string:-""} gemset_name=${rvm_gemset_name:-""} + repo_url=${rvm_ruby_repo_url:-""} + branch_name=${rvm_ruby_repo_branch:-""} __rvm_unset_ruby_variables + + rvm_ruby_repo_url=${repo_url:-""} + rvm_ruby_repo_branch=${branch_name:-""} if [[ ! -z "$gemset_name" ]] ; then rvm_gemset_name="$gemset_name" rvm_sticky_flag=1 # <- not sold on this. fi