Skip to content

Commit

Permalink
Bugfix: Properly extract the ruby string for gemset use.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Mar 22, 2010
1 parent e0c5464 commit 0851e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utility
Expand Up @@ -659,7 +659,7 @@ __rvm_gemset_select() {
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}"
rvm_ruby_gem_home="$rvm_gems_path/$(basename $rvm_ruby_gem_home | awk -F${rvm_gemset_separator} '{print $1}'})${rvm_gemset_separator}${rvm_gemset_name}"
fi
fi

Expand Down

0 comments on commit 0851e2b

Please sign in to comment.