[Rubygems-developers] I can see through my proxy!

Gavin Sinclair gsinclair at soyabean.com.au
Wed Apr 21 10:13:19 EDT 2004

On Wednesday, April 21, 2004, 5:15:51 AM, George wrote:

>>Nulling out env vars, in general, is not "nice", I'm sure you agree.  A
>>while ago, you mentioned wanting to be able to disable proxy access for
>>testing.  Also, I work in proxied and non-proxied environments.  I might
>>use --no-http-proxy in the latter so I can just keep the variable set.
> Glad to hear that someone else has proxy support working!

> More to the point ... as well as paying attention to HTTP_PROXY, 
> open-uri also honours the NO_PROXY environment variable. So even if you
> have HTTP_PROXY set, you can cause rubygems to not use it by setting
> NO_PROXY to gems.rubyforge.org.

Cool, thanks.  I'll make sure that's clear in the reference.


More information about the Rubygems-developers mailing list