Permalink
Browse files

Update the order of calls that create the .rvmrc

  • Loading branch information...
1 parent 25e4820 commit cc8836296676349fe2a5b226f9b5da0156e65d36 @Sutto Sutto committed Jun 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/selector
View
@@ -293,11 +293,11 @@ __rvm_use() {
new_path="$GEM_HOME/bin:$rvm_ruby_global_gems_path/bin:$MY_RUBY_HOME/bin:$rvm_bin_path:$new_path"
fi
- if [[ ! -z "$rvm_rvmrc_flag" ]] ; then __rvm_set_rvmrc ; fi
# Export ruby string and gem set me for extrenal scripts to take advantage of them.
if [[ ! -z "$rvm_ruby_string" ]] ; then export rvm_ruby_string ; fi
if [[ ! -z "$rvm_gemset_name" ]] ; then export rvm_gemset_name ; fi
if [[ ! -z "$new_path" ]] ; then export PATH="$new_path" ; unset new_path ; fi
+ if [[ ! -z "$rvm_rvmrc_flag" ]] ; then __rvm_set_rvmrc ; fi
environment_id="$(__rvm_environment_identifier)"

0 comments on commit cc88362

Please sign in to comment.