diff options
Diffstat (limited to 'lib/rubygems/request.rb')
-rw-r--r-- | lib/rubygems/request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/request.rb b/lib/rubygems/request.rb index 5657f48e07..82c7f2b297 100644 --- a/lib/rubygems/request.rb +++ b/lib/rubygems/request.rb @@ -171,7 +171,7 @@ class Gem::Request no_env_proxy = env_proxy.nil? || env_proxy.empty? if no_env_proxy - return (_scheme == "https" || _scheme == "http") ? + return _scheme == "https" || _scheme == "http" ? :no_proxy : get_proxy_from_env("http") end |