From f0c6cc14b10616a61d3113dd5a88291fe915461b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 26 Aug 2021 16:46:29 +0200 Subject: [PATCH] [rubygems/rubygems] Make sure `Gem::Command` is available before using it https://github.com/rubygems/rubygems/commit/95326f827c --- lib/bundler/rubygems_integration.rb | 2 ++ 1 file changed, 2 insertions(+) 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