Skip to content

Commit

Permalink
Make sure Gem::Command is available before using it
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Aug 30, 2021
1 parent 2ee3e78 commit 95326f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bundler/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 95326f8

Please sign in to comment.