Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Keep RubyGems untouched #1753

Merged
merged 1 commit into from

3 participants

@voxik

No reasons to modify RubyGems code if the same functionality can be achieved by modifying default settings of RubyGems for Rubinius (reverts 479b268).

@voxik voxik Keep RubyGems untouched.
No reasons to modify RubyGems code if the same functionality can be
achieved by modifying default settings of RubyGems for Rubinius
(reverts 479b268).
25cbd90
@travisbot

This pull request passes (merged 25cbd90 into 66191c9).

@dbussink dbussink merged commit 62c5615 into rubinius:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 28, 2012
  1. @voxik

    Keep RubyGems untouched.

    voxik authored
    No reasons to modify RubyGems code if the same functionality can be
    achieved by modifying default settings of RubyGems for Rubinius
    (reverts 479b268).
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 5 deletions.
  1. +1 −1  lib/rubygems/defaults/rbx.rb
  2. +0 −4 lib/rubygems/path_support.rb
View
2  lib/rubygems/defaults/rbx.rb
@@ -18,7 +18,7 @@ def self.default_preinstalled_dir
end
def self.default_path
- dirs = [default_dir]
+ dirs = [default_dir, default_preinstalled_dir]
# This is the same test rubygems/defaults.rb uses
dirs.unshift(Gem.user_dir) if File.exists?(Gem.user_home)
dirs
View
4 lib/rubygems/path_support.rb
@@ -65,10 +65,6 @@ def path=(gpaths)
gem_path << APPLE_GEM_HOME if defined?(APPLE_GEM_HOME)
end
- if Gem.respond_to?(:default_preinstalled_dir)
- gem_path << Gem.default_preinstalled_dir
- end
-
@path = gem_path.uniq
end
end
Something went wrong with that request. Please try again.