Skip to content

Commit

Permalink
Allow rvm_rubygems_package to install to system, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
temujin9 committed Jun 17, 2011
1 parent 533caff commit 17662f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/rvm_rubygems_package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def ruby_string

def install_package(name, version)
ruby_string_normalized = normalize_ruby_string(ruby_string)
super if ruby_string_normalized == 'system'
next if ruby_string_normalized == 'system'

# ensure ruby is installed and gemset exists
e = rvm_environment ruby_string_normalized do
Expand Down

0 comments on commit 17662f2

Please sign in to comment.