Permalink
Browse files

Bugfix: Don't select if gem_home set.

  • Loading branch information...
1 parent 56e7ad9 commit 52581087542071dd0790749486ded1b9b441e3c6 @wayneeseguin wayneeseguin committed Apr 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/gemsets
View
@@ -69,7 +69,7 @@ __rvm_gemset_delete() {
}
__rvm_gemset_empty() {
- if [[ -z "$rvm_ruby_selected_flag" ]] ; then __rvm_select ; fi
+ if [[ -z "$rvm_ruby_gem_home" ]] ; then __rvm_select ; fi
gemdir="$rvm_ruby_gem_home"
if [[ -d "$gemdir" ]] && [[ "$gemdir" != '/' ]] && [[ ! -z "$rvm_force_flag" ]] ; then
cd $gemdir && rm -rf ./bin/* ./doc/* ./gems/* ./specifications/*

0 comments on commit 5258108

Please sign in to comment.