scripts/utility in rvm-0.0.56 vs scripts/utility in rvm-0.0.57

- old
+ new

@@ -482,11 +482,11 @@ mkdir -p $rvm_src_path $rvm_bin_path $rvm_archives_path $rvm_gem_path $rvm_temp_path } function __rvm_update { - if [ "$rvm_ruby_revision" = "head" -o ! -z "$rvm_self_flag" -o ! -z "$rvm_update_flag" ] ; then + if [ "$rvm_ruby_revision" = "head" -o ! -z "$rvm_self_flag" -o "$rvm_action" = "update" -o ! -z "$rvm_update_flag" ] ; then __rvm_version __rvm_update_rvm __rvm_version fi __rvm_reload @@ -503,10 +503,11 @@ else cd $rvm_src_path && git clone git://github.com/wayneeseguin/rvm.git && cd rvm/ && ./install fi else # TODO: rvm_install_path: - gem install rvm --no-rdoc --no-ri -q && rvm-install && source ~/.rvm/scripts/rvm + GEM_HOME="${GEM_HOME:-$(gem env gemdir user)}" + gem install rvm --no-rdoc --no-ri -q && $GEM_HOME/bin/rvm-install && source ~/.rvm/scripts/rvm fi } function __rvm_reboot { __rvm_log "warn" "Do you wish to reset rvm? ('yes', or 'no')"