summaryrefslogtreecommitdiff
path: root/lib/bundler/rubygems_integration.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-07-01 20:22:40 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-15 16:05:12 +0900
commit5783d0dbfc517c7c9e1fc7d6c10134a36e50449e (patch)
tree43ca9561df58cfd0b690c0084058da287f420bd3 /lib/bundler/rubygems_integration.rb
parent0c8d90b5269829d9209a409163832998d5d77af4 (diff)
Import remaining changes
The "sync with commits" scripts failed to properly import these for some reason.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3275
Diffstat (limited to 'lib/bundler/rubygems_integration.rb')
-rw-r--r--lib/bundler/rubygems_integration.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb
index 5470eb7263..9256fa274c 100644
--- a/lib/bundler/rubygems_integration.rb
+++ b/lib/bundler/rubygems_integration.rb
@@ -136,14 +136,10 @@ module Bundler
end
def inflate(obj)
- require "rubygems/util"
-
Gem::Util.inflate(obj)
end
def correct_for_windows_path(path)
- require "rubygems/util"
-
if Gem::Util.respond_to?(:correct_for_windows_path)
Gem::Util.correct_for_windows_path(path)
elsif path[0].chr == "/" && path[1].chr =~ /[a-z]/i && path[2].chr == ":"