Permalink
Browse files

Bugfix: rvm gems delete.

  • Loading branch information...
1 parent 31fadff commit badebc3ba9acc5451f6fffafb1a6fffb2e2cbdc9 @wayneeseguin wayneeseguin committed Feb 12, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −2 scripts/cli
  2. +1 −1 scripts/gems
View
@@ -60,8 +60,8 @@ __rvm_parse_args() {
rvm_ruby_args="clear"
rvm_parse_break=1
elif [[ "delete" = "$1" ]] ; then
- export rvm_delete_flag=1 ; shift
- rvm_ruby_args="$*"
+ export rvm_delete_flag=1
+ rvm_ruby_args="$*" ; shift
rvm_gem_set_name="$1"; shift
rvm_ruby_string=$(echo $rvm_gem_set_name | sed 's/\(.*\)%.*/\1/')
rvm_gem_set_name=$(echo $rvm_gem_set_name | sed 's/.*%\(.*\)/\1/')
View
@@ -47,7 +47,7 @@ __rvm_gems_delete() {
if [[ -d "$gemdir" ]] && [[ "$gemdir" != '/' ]] && [[ ! -z "$rvm_force_flag" ]] ; then
rm -rf "$gemdir"
elif [[ -d "$gemdir" ]] ; then
- $rvm_scripts_path/log "warn" "Are you SURE you wish to remove the entire gemset '$rvm_gem_set_name' ($gemdir)?"
+ $rvm_scripts_path/log "warn" "Are you SURE you wish to remove the entire gemset directory '$rvm_gem_set_name' ($gemdir)?"
echo -n "(anything other than 'yes' will cancel) > "
read response
if [[ "yes" = "$response" ]] ; then

0 comments on commit badebc3

Please sign in to comment.