Skip to content

Commit

Permalink
Bugfix: 'rvm gems name' works now.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Dec 28, 2009
1 parent 8f44028 commit 056af22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/gems
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ -d "$rvm_ruby_gem_home" ]] && which gem &> /dev/null ; then rvm_ruby_gem_h
trap "if [[ -d $rvm_path/tmp/ ]] && [[ -f $rvm_path/tmp/$$ ]] ; then rm -f $rvm_path/tmp/$$ > /dev/null 2>&1 ; fi ; exit" 0 1 2 3 15

__rvm_gems_name() {
echo "$rvm_gem_set_name"
echo "$(gem env gemdir)" | awk -F'%' '{print $2}'
}

__rvm_gems_dir() {
Expand Down
6 changes: 0 additions & 6 deletions scripts/utility
Original file line number Diff line number Diff line change
Expand Up @@ -705,9 +705,3 @@ __rvm_gems_use() {
fi
}

__rvm_gems_clear() {
unset rvm_ruby_gem_home rvm_gem_set_name GEM_HOME GEM_PATH
__rvm_gems_select
__rvm_gems_use
}

0 comments on commit 056af22

Please sign in to comment.