scripts/rubygems in rvm-0.1.39 vs scripts/rubygems in rvm-0.1.40

- old
+ new

@@ -1,18 +1,14 @@ #!/usr/bin/env bash -source $rvm_scripts_path/initialize -source $rvm_scripts_path/utility -source $rvm_scripts_path/selector +source "$rvm_scripts_path/base" result=0 -__rvm_select +__rvm_become -if [[ ! -z "$rvm_trace_flag" ]] ; then set -x ; export rvm_trace_flag ; fi -trap "if [[ -d $rvm_tmp_path/ ]] && [[ -s $rvm_tmp_path/$$ ]] ; then rm -f $rvm_tmp_path/$$ > /dev/null 2>&1 ; fi ; exit" 0 1 2 3 15 - rubygems_setup() { + __rvm_warn_on_rubyopt unset RUBYOPT if [[ ! -z "$(echo $rvm_ruby_version | awk '/^1\.9/')" ]] || [[ ! -z "$(echo $rvm_ruby_interpreter | awk '/^mput/')" ]] ; then install=0 elif [[ "$rvm_ruby_string" = "ruby-head" ]] ; then install=0