Andrew Skegg wrote:
> Andrew Skegg wrote:
>> 
>> Any ideas?
> 
> Should have tried on last thing before I posted:
> 
> export HTTP_PROXY = "http://proxy:3128"
> 
> This fixes the problem, but I still need to specify the "-p" switch, and 
> I am only behind this proxy at work which means I will be altering the 
> laptop all the time.


I'm having this issue too (running on Windows, though).  Shouldn't this 
be able to work without having to set an environment variable?  That's 
the point of the -p option, right?

I added the following to config_file.rb, and the proxy option works 
after adding it, but somehow I'm guessing that's not what the designers 
had in mind for this class...

def []=(key, value)
  @hash[key.to_s]=value
end

-- 
Posted via http://www.ruby-forum.com/.