diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-12-12 21:21:35 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-12-14 20:22:48 +0800 |
commit | 5cf6f7f8859a0418bbbe2b608a88557d4f06e098 (patch) | |
tree | a9ff0931b28bb64ab072680ba208f90b3fa22c59 /lib/bundler/installer.rb | |
parent | 7564038864bcf7c3cfb2f602e318e9beae17b2f7 (diff) |
[rubygems/rubygems] Remove more methods now defined in all RubyGems versions
https://github.com/rubygems/rubygems/commit/e015200ffa
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index c38b0e48ed..e837f732cf 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -214,7 +214,7 @@ module Bundler end def load_plugins - Bundler.rubygems.load_plugins + Gem.load_plugins requested_path_gems = @definition.requested_specs.select {|s| s.source.is_a?(Source::Path) } path_plugin_files = requested_path_gems.map do |spec| @@ -223,8 +223,8 @@ module Bundler error_message = "#{spec.name} #{spec.version} has an invalid gemspec" raise Gem::InvalidSpecificationException, error_message end.flatten - Bundler.rubygems.load_plugin_files(path_plugin_files) - Bundler.rubygems.load_env_plugins + Gem.load_plugin_files(path_plugin_files) + Gem.load_env_plugins end def ensure_specs_are_compatible! |