Permalink
Browse files

If gemset name was specified, explicitely use it.

  • Loading branch information...
1 parent 61f6601 commit afea32d42e7f7ebd5e5aad2d68a955f1aad517aa @wayneeseguin wayneeseguin committed Apr 14, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 scripts/utility
View
@@ -665,9 +665,7 @@ __rvm_gemset_select() {
fi
if [[ -z "$rvm_gemset_name" ]] ; then unset rvm_gemset_name ; fi
else
- if [[ -z "$rvm_ruby_gem_home" ]] || [[ ! -z "$(echo $rvm_ruby_gem_home | grep ${rvm_gemset_separator})" ]] ; then
- rvm_ruby_gem_home="$rvm_gems_path/${rvm_ruby_string}${rvm_gemset_separator}${rvm_gemset_name}"
- fi
+ rvm_ruby_gem_home="$rvm_gems_path/${rvm_ruby_string}${rvm_gemset_separator}${rvm_gemset_name}"
fi
# If the gemset does not exist, then notify the user as such and abort the action.

0 comments on commit afea32d

Please sign in to comment.