Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bugfix: 'rvm 1.9.1%somegem ; gem install wirble ; rvm 1.8.7 ; rvm gem…

…s delete 1.9.1%somegem' now works properly.
  • Loading branch information...
commit 9e6f7fda8acfc92ad6dd740d9dfee7fe38976a53 1 parent f743615
@wayneeseguin wayneeseguin authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 scripts/cli
View
5 scripts/cli
@@ -379,7 +379,10 @@ function __rvm_parse_args {
*)
if [[ ! -z "$rvm_token" ]] ; then
if [[ "gems" = "$rvm_action" ]] ; then
- if [[ ! -z "$(echo "$rvm_token" | awk '/\.gems$/')" ]] ; then
+ if 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 [[ ! -z "$(echo "$rvm_token" | awk '/\.gems$/')" ]] ; then
rvm_file_name="$(echo "$rvm_token" | sed 's#\.gems##g').gems"
# elif [[ ! -z "$(echo "$rvm_token" | awk '/\.gems$/')" ]] ; then
else
Please sign in to comment.
Something went wrong with that request. Please try again.