scripts/cli in rvm-0.0.63 vs scripts/cli in rvm-0.0.64
- old
+ new
@@ -387,10 +387,12 @@
rvm_action="do" # Not sure if we really want to do this but we'll try it out.
fi
elif match "$rvm_token" "^.+%.+$" ; then
rvm_gem_set_name="$(echo "$rvm_token" | awk -F'%' '{print $2}')"
rvm_ruby_string="$(echo "$rvm_token" | awk -F'%' '{print $1}')"
+ elif match "$rvm_token" "-" ; then
+ rvm_ruby_string="$rvm_token"
elif match "$rvm_token" "^[0-9].[0-9]" ; then
rvm_ruby_string="$rvm_token"
rvm_action="${rvm_action:-use}"
elif match "$rvm_token" "^ree" ; then
rvm_ruby_string="$rvm_token"
@@ -452,19 +454,20 @@
usage|help) __rvm_usage ; result=$? ;;
benchmark) __rvm_benchmark ; result=$? ;;
ruby) __rvm_do ; result=$? ;;
inspect) __rvm_inspect ; result=$? ;;
gems) __rvm_gems ; result=$? ;;
+ remove) __rvm_remove_ruby ; result=$? ;;
reload)
source "$rvm_path/scripts/rvm"
;;
iconv|openssl|ncurses|zlib|readline)
__rvm_${rvm_action}_install
result=$?
;;
- install|uninstall|remove)
+ install|uninstall)
__rvm_manage_rubies
result=$?
;;
gemsync)