scripts/wrapper in rvm-0.1.37 vs scripts/wrapper in rvm-0.1.38

- old
+ new

@@ -1,8 +1,9 @@ #!/usr/bin/env bash -unset rvm_default_flag +# Prevent it from recursing. +unset rvm_default_flag rvm_wrapper_name source $rvm_scripts_path/initialize source $rvm_scripts_path/utility source $rvm_scripts_path/selector @@ -68,12 +69,10 @@ if [[ -z "$binaries" ]] ; then binaries="ruby gem irb ri rdoc rake erb testrb" fi # Use the correct ruby. -rvm_ruby_string="${ruby_string}" -__rvm_select > /dev/null 2>&1 -__rvm_use > /dev/null 2>&1 +__rvm_become "$ruby_string" __rvm_ensure_has_enviroment_files environment_identifier="$(__rvm_environment_identifier)"