Permalink
Browse files

Improved output for gemset empty.

  • Loading branch information...
1 parent 5258108 commit 138c9b6fbb1e6ebeefe382d50f6c69dab851952c @wayneeseguin wayneeseguin committed Apr 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/gemsets
View
2 scripts/gemsets
@@ -74,7 +74,7 @@ __rvm_gemset_empty() {
if [[ -d "$gemdir" ]] && [[ "$gemdir" != '/' ]] && [[ ! -z "$rvm_force_flag" ]] ; then
cd $gemdir && rm -rf ./bin/* ./doc/* ./gems/* ./specifications/*
elif [[ -d "$gemdir" ]] ; then
- $rvm_scripts_path/log "warn" "Are you SURE you wish to remove the installed gemset for gemset '${rvm_gemset_separator}$rvm_gemset_name' ($gemdir)?"
+ $rvm_scripts_path/log "warn" "Are you SURE you wish to remove the installed gemset for gemset '$(basename $gemdir)' ($gemdir)?"
echo -n "(anything other than 'yes' will cancel) > "
read response
if [[ "yes" = "$response" ]] ; then

0 comments on commit 138c9b6

Please sign in to comment.