scripts/cli in rvm-0.0.79 vs scripts/cli in rvm-0.0.80
- old
+ new
@@ -291,11 +291,11 @@
rvm_file_name="$rvm_gem_set_name.gems"
fi
elif [[ ! -z "$(echo "$rvm_token" | awk '/,/')" ]] ; then
rvm_ruby_version="$rvm_token"
if [[ -z "$rvm_action" ]] ; then
- rvm_action="do" # Not sure if we really want to do this but we'll try it out.
+ rvm_action="ruby" # 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
@@ -309,10 +309,10 @@
else
if match "$rvm_token" "\.rb$" ; then # we have a specified ruby script
rvm_ruby_args=$rvm_token
rvm_ruby_file=$rvm_token
if [[ -z "$rvm_action" ]] ; then
- rvm_action="ruby" # Not sure if we really want to do this but we'll try it out.
+ rvm_action="ruby"
fi
else
rvm_action="error"
rvm_error_message="Unrecognized command line argument: '$rvm_token'"
fi