scripts/selector in rvm-0.1.41 vs scripts/selector in rvm-0.1.42
- old
+ new
@@ -301,11 +301,11 @@
environment_id="$(__rvm_environment_identifier)"
if [[ ! -z "$rvm_default_flag" ]] && [[ "default" != "$rvm_ruby_interpreter" ]] ; then
if [[ "root" = "$(whoami)" ]] ; then
- # By not providing the name it uses the base ruby binary names.
- $rvm_scripts_path/wrapper $rvm_ruby_string
+ # Sets up the default wrappers.
+ $rvm_scripts_path/wrapper "$rvm_ruby_string"
fi
if [[ "system" = "$rvm_ruby_interpreter" ]] ; then
$rvm_scripts_path/alias delete default &> /dev/null
rm -f $rvm_config_path/default
rm -f $rvm_bin_path/default*