Skip to content

Commit

Permalink
[rubygems/rubygems] Make sure Gem::Command is available before usin…
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed Aug 31, 2021
1 parent 41240ff commit f0c6cc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bundler/rubygems_integration.rb
Expand Up @@ -34,10 +34,12 @@ def provides?(req_str)
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

Expand Down

0 comments on commit f0c6cc1

Please sign in to comment.