summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2025-06-11 17:58:35 +0200
committerHiroshi SHIBATA <[email protected]>2025-06-16 10:03:36 +0900
commitddb412f6804484db165fdbbd34e144a7b2bed5b0 ()
tree3d8e70c625c59327a027a80e169d16458e001a86 /lib
parent022c18b60d2245980abcdd7b5195eebca73b8809 (diff)
[rubygems/rubygems] Fix redefinition warnings when using modern RubyGems with old Bundler
https://.com/rubygems/rubygems/commit/ce7e8e92ca
-rw-r--r--lib/rubygems.rb2
-rw-r--r--lib/rubygems/bundler_integration.rb23
2 files changed, 24 insertions, 1 deletions
@@ -1144,7 +1144,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
ENV["BUNDLE_GEMFILE"] ||= File.expand_path(path)
require_relative "rubygems/user_interaction"
- require "bundler"
begin
Gem::DefaultUserInteraction.use_ui(ui) do
Bundler.ui.silence do
@@ -0,0 +1,23 @@