diff --git a/scripts/cli b/scripts/cli index c803714083..e05ff9c281 100755 --- a/scripts/cli +++ b/scripts/cli @@ -646,7 +646,7 @@ rvm() fi # Check that this is the current version. - disk_version="$(grep VERSION "$rvm_path/lib/VERSION.yml" | cut -f 2 -d\")" + disk_version="$(grep VERSION "$rvm_path/lib/rvm.rb" | cut -f 2 -d\")" disk_version="${disk_version/%.}" if [[ $# -gt 0 ]] ; then next_token="$1" ; shift ; else next_token="" ; fi diff --git a/scripts/rvm b/scripts/rvm index 9af8f3431e..d2178cb1e8 100755 --- a/scripts/rvm +++ b/scripts/rvm @@ -103,7 +103,7 @@ if ! declare -f rvm > /dev/null || [[ ${rvm_reload_flag:-0} -eq 1 ]] ; then fi done - rvm_version="$(grep VERSION "$rvm_path/lib/VERSION.yml" | cut -f 2 -d\")" + rvm_version="$(grep VERSION "$rvm_path/lib/rvm.rb" | cut -f 2 -d\")" export rvm_version="${rvm_version/%.}"