1
0
Fork 0
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:
David Rodríguez 2019-05-28 11:41:47 +02:00 committed by Hiroshi SHIBATA
parent 81779e2246
commit 51bdc9433b
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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)