diff options
author | David RodrÃguez <[email protected]> | 2021-08-08 10:40:11 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-08-31 19:06:14 +0900 |
commit | d01c3111c25d618ab42b0b52b620c55a9305d0e9 (patch) | |
tree | bbc51a00cf4706c79a365dd48137aca0781bdbbf /lib/rubygems/path_support.rb | |
parent | afabef5a5ab067ee34e70be54fc1b3cfcad63862 (diff) |
[rubygems/rubygems] Remove MacOS specific extra GEM_PATH
They should properly configure `GEM_PATH` instead.
https://github.com/rubygems/rubygems/commit/3bd9ae33ca
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4789
Diffstat (limited to 'lib/rubygems/path_support.rb')
-rw-r--r-- | lib/rubygems/path_support.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/rubygems/path_support.rb b/lib/rubygems/path_support.rb index 8103caf324..d601e653c9 100644 --- a/lib/rubygems/path_support.rb +++ b/lib/rubygems/path_support.rb @@ -72,12 +72,7 @@ class Gem::PathSupport # Return the default Gem path def default_path - gem_path = Gem.default_path + [@home] - - if defined?(APPLE_GEM_HOME) - gem_path << APPLE_GEM_HOME - end - gem_path + Gem.default_path + [@home] end def expand(path) |