summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-01-31 14:08:33 +0900
committergit <[email protected]>2024-02-26 22:04:05 +0000
commitd220d273aa31672d46ebcc29df17260fb7c7f91b (patch)
treefcbca66933cd649b296ee414ce5cee181a0db514
parentd2da774f870ecf51f465dd4081a7349812efaac4 (diff)
[rubygems/rubygems] Use renamed file on bundler
https://github.com/rubygems/rubygems/commit/d198ec36f2
-rw-r--r--lib/bundler/vendored_net_http.rb2
-rw-r--r--lib/bundler/vendored_timeout.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/vendored_net_http.rb b/lib/bundler/vendored_net_http.rb
index 908ec4bcaf..59f234a758 100644
--- a/lib/bundler/vendored_net_http.rb
+++ b/lib/bundler/vendored_net_http.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
begin
- require "rubygems/net/http"
+ require "rubygems/vendored_net_http"
rescue LoadError
require "net/http"
Gem::Net = Net
diff --git a/lib/bundler/vendored_timeout.rb b/lib/bundler/vendored_timeout.rb
index 34770f2116..0be3d802fd 100644
--- a/lib/bundler/vendored_timeout.rb
+++ b/lib/bundler/vendored_timeout.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
begin
- require "rubygems/timeout"
+ require "rubygems/vendored_timeout"
rescue LoadError
require "timeout"
Gem::Timeout = Timeout