mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[bundler/bundler] Normalize usages of Gem::Util
in rubygems integration
https://github.com/bundler/bundler/commit/b35d7fc74a
This commit is contained in:
parent
81779e2246
commit
51bdc9433b
1 changed files with 3 additions and 5 deletions
|
@ -139,11 +139,9 @@ module Bundler
|
|||
end
|
||||
|
||||
def inflate(obj)
|
||||
if defined?(Gem::Util)
|
||||
Gem::Util.inflate(obj)
|
||||
else
|
||||
Gem.inflate(obj)
|
||||
end
|
||||
require "rubygems/util"
|
||||
|
||||
Gem::Util.inflate(obj)
|
||||
end
|
||||
|
||||
def correct_for_windows_path(path)
|
||||
|
|
Loading…
Reference in a new issue