summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb
index 8f950496c3..aed7157dfa 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -216,7 +216,7 @@ module Bundler
con.key = OpenSSL::PKey::RSA.new(pem)
end
- con.read_timeout = @api_timeout
+ con.read_timeout = Fetcher.api_timeout
con.override_headers["User-Agent"] = self.class.user_agent
con
end