Skip to content
This repository
Browse code

Bugfix: Fixing the last bugfix.

  • Loading branch information...
commit fee9061d3be7343725126943b571b0646127d431 1 parent 9edf912
Wayne E. Seguin authored April 14, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  scripts/utility
4  scripts/utility
@@ -667,9 +667,9 @@ __rvm_gemset_select() {
667 667
   else
668 668
     gemset=$(echo "$rvm_ruby_gem_home" | awk -F'@' '{print $NF}')
669 669
     if [[ -z "$rvm_ruby_gem_home" ]] || [[ ! -z "$gemset" ]] ; then
670  
-      rvm_ruby_gem_home="$rvm_gems_path/${rvm_ruby_string}${rvm_gemset_separator}${rvm_gemset_name}"
  670
+      rvm_ruby_gem_home="$rvm_gems_path/$(basename ${GEM_HOME/@*/})${rvm_gemset_separator}${rvm_gemset_name}"
671 671
     elif [[ ! -z "$gemset" ]] && [[ "$rvm_gemset_name" != "$gemset" ]] ; then
672  
-      rvm_ruby_gem_home="$rvm_gems_path/${rvm_ruby_string}${rvm_gemset_separator}${rvm_gemset_name}"
  672
+      rvm_ruby_gem_home="$rvm_gems_path/$(basename ${GEM_HOME/@*/})${rvm_gemset_separator}${rvm_gemset_name}"
673 673
     fi ; unset gemset
674 674
   fi
675 675
 

0 notes on commit fee9061

Please sign in to comment.
Something went wrong with that request. Please try again.