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

- old
+ new

@@ -1,7 +1,9 @@ #!/usr/bin/env bash +unset rvm_default_flag rvm_wrapper_name + if [[ ! -z "$rvm_trace_flag" ]] ; then set -x ; export rvm_trace_flag ; fi trap "if [[ -d $rvm_tmp_path/ ]] && [[ -f $rvm_tmp_path/$$ ]] ; then rm -f $rvm_tmp_path/$$ > /dev/null 2>&1 ; fi ; exit" 0 1 2 3 15 source $rvm_scripts_path/initialize @@ -39,10 +41,10 @@ result=1 else if [[ -z "$rvm_alias" ]] ; then rvm_ruby_string="$rvm_environment_identifier" rvm_expanding_aliases=1 - __rvm_ruby_string >& /dev/null + __rvm_become unset rvm_expanding_aliases if [[ -z "$rvm_ruby_string" ]]; then $rvm_scripts_path/log "error" "unknown ruby string specified" result=1 return