scripts/rvm in rvm-0.0.96 vs scripts/rvm in rvm-0.0.97

- old
+ new

@@ -35,10 +35,14 @@ rvm_version="$(cat "${rvm_path}/lib/VERSION.yml" | tail -n 3 | sed 's/^.*: //g' | tr "\n" '.' | sed 's/\.$//')" ; export rvm_version alias rvm-restart="source '${rvm_path}/scripts/rvm'" - if [[ -s "$rvm_path/default" ]] ; then source "$rvm_path/default" ; fi + if [[ -s "$HOME/.rvm/default" ]] ; then + source "$HOME/.rvm/default" + elif [[ -s "$rvm_path/default" ]] ; then + source "$rvm_path/default" + fi else echo -e "\$rvm_path is not set. rvm cannot load." fi fi