summaryrefslogtreecommitdiff
path: root/lib/bundler/rubygems_integration.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-08-26 16:46:29 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-08-31 19:06:14 +0900
commitf0c6cc14b10616a61d3113dd5a88291fe915461b (patch)
treeb28af3289bea492bea95b6836beccd16281317b8 /lib/bundler/rubygems_integration.rb
parent41240ffee3a796c02d24e6ed424ec1a9a1e242d6 (diff)
[rubygems/rubygems] Make sure `Gem::Command` is available before using it
https://github.com/rubygems/rubygems/commit/95326f827c
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4789
Diffstat (limited to 'lib/bundler/rubygems_integration.rb')
-rw-r--r--lib/bundler/rubygems_integration.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb
index 21ce12ecda..98982b0f07 100644
--- a/lib/bundler/rubygems_integration.rb
+++ b/lib/bundler/rubygems_integration.rb
@@ -34,10 +34,12 @@ module Bundler
end
def build_args
+ require "rubygems/command"
Gem::Command.build_args
end
def build_args=(args)
+ require "rubygems/command"
Gem::Command.build_args = args
end