Skip to content

Commit

Permalink
[rubygems/rubygems] Require rubygems/request where it's used
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed Dec 13, 2023
1 parent 196c246 commit 8d1a203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/fetcher.rb
Expand Up @@ -4,7 +4,6 @@
require "cgi"
require "securerandom"
require "zlib"
require "rubygems/request"

module Bundler
# Handles all the fetching with the rubygems server
Expand Down Expand Up @@ -307,6 +306,7 @@ def bundler_cert_store
end
else
store.set_default_paths
require "rubygems/request"
Gem::Request.get_cert_files.each {|c| store.add_file c }
end
store
Expand Down

0 comments on commit 8d1a203

Please sign in to comment.