Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Don't call Gem::configuration in Bundler::Fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirotaka Azuma authored and indirect committed Aug 15, 2015
1 parent f2bd259 commit d5ce178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/fetcher.rb
Expand Up @@ -203,7 +203,7 @@ def connection
raise SSLError if needs_ssl && !defined?(OpenSSL::SSL)

con = Net::HTTP::Persistent.new "bundler", :ENV
if gem_proxy = Gem.configuration[:http_proxy]
if gem_proxy = Bundler.rubygems.configuration[:http_proxy]
con.proxy = URI.parse(gem_proxy)
end

Expand Down

0 comments on commit d5ce178

Please sign in to comment.