scripts/selector in rvm-0.1.40 vs scripts/selector in rvm-0.1.41
- old
+ new
@@ -347,11 +347,10 @@
# * rvm_ruby_interpreter
# * rvm_ruby_version
# * rvm_ruby_patch_level
# * rvm_ruby_revision
# * rvm_ruby_tag
- # * rvm_ruby_patch
# Alias'd rubies
if [[ -z "$rvm_expanding_aliases" ]]; then
rvm_ruby_string="${rvm_ruby_string:-"default"}"
expanded_alias_name="$($rvm_scripts_path/alias show "$rvm_ruby_string" 2>/dev/null)"
@@ -412,13 +411,10 @@
elif $rvm_scripts_path/match "$string" "^t[v0-9]" ; then
unset rvm_ruby_patch_level rvm_ruby_revision
rvm_ruby_tag="$string"
elif $rvm_scripts_path/match "$string" "^m[0-9]" ; then
rvm_ruby_mode="$string"
- elif $rvm_scripts_path/match "$string" "^h[a-z0-9]" ; then
- unset rvm_ruby_patch_level rvm_ruby_revision rvm_ruby_tag
- rvm_ruby_patch="$string"
elif $rvm_scripts_path/match "$string" "^u[a-z0-9]" ; then
unset rvm_ruby_patch_level rvm_ruby_revision rvm_ruby_tag rvm_ruby_patch
rvm_ruby_user_tag="$string"
elif $rvm_scripts_path/match "$string" "^b[0-9][0-9]" ; then
rvm_ruby_bits="$string"
@@ -478,9 +474,10 @@
rvm_ruby_string="${rvm_ruby_string}-${rvm_ruby_patch_level}"
if [[ "ree" = "$rvm_ruby_interpreter" ]] || [[ "rbx" = "$rvm_ruby_interpreter" ]] ; then
rvm_ruby_string="$(echo $rvm_ruby_string | sed 's#-p*#-#')"
else
rvm_ruby_string="$(echo $rvm_ruby_string | sed 's#-pp#-p#')"
+ rvm_ruby_string="$(echo $rvm_ruby_string | sed 's#-prc#-rc#')"
fi
fi
fi
}