scripts/rvm in rvm-0.0.67 vs scripts/rvm in rvm-0.0.68
- old
+ new
@@ -15,8 +15,11 @@
source $rvm_path/scripts/ruby-installer # TODO: Script not function.
source $rvm_path/scripts/cli
source $rvm_path/scripts/gems
rvm_loaded_flag=1 ; export rvm_loaded_flag
+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 [[ -f "$rvm_path/default" ]] ; then source $rvm_path/default ; fi