Permalink
Browse files

Bugfix: Fixing the last bugfix.

  • Loading branch information...
1 parent 9edf912 commit fee9061d3be7343725126943b571b0646127d431 @wayneeseguin wayneeseguin committed Apr 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/utility
View
4 scripts/utility
@@ -667,9 +667,9 @@ __rvm_gemset_select() {
else
gemset=$(echo "$rvm_ruby_gem_home" | awk -F'@' '{print $NF}')
if [[ -z "$rvm_ruby_gem_home" ]] || [[ ! -z "$gemset" ]] ; then
- rvm_ruby_gem_home="$rvm_gems_path/${rvm_ruby_string}${rvm_gemset_separator}${rvm_gemset_name}"
+ rvm_ruby_gem_home="$rvm_gems_path/$(basename ${GEM_HOME/@*/})${rvm_gemset_separator}${rvm_gemset_name}"
elif [[ ! -z "$gemset" ]] && [[ "$rvm_gemset_name" != "$gemset" ]] ; then
- rvm_ruby_gem_home="$rvm_gems_path/${rvm_ruby_string}${rvm_gemset_separator}${rvm_gemset_name}"
+ rvm_ruby_gem_home="$rvm_gems_path/$(basename ${GEM_HOME/@*/})${rvm_gemset_separator}${rvm_gemset_name}"
fi ; unset gemset
fi

0 comments on commit fee9061

Please sign in to comment.