From: Eric Hodel Date: 2008-12-12T03:44:01+09:00 Subject: Re: Gems, Proxy authentication On Dec 10, 2008, at 07:11 AM, Zhoran Tvalve wrote: > John T. wrote: >> I was finally able to get it to work by including the username and >> password in the environment var: >> >> HTTP_PROXY=http://username:password@192.168.4.4:1234 >> >> (replace username, password and proxy address/port as necessary) >> >> that made it work. I just have to remember to change it when I have >> to >> change my password, every 90 days... > > Hi, John! > So did I, but unsuccessful :( > Stil got err 407 auth required > > Tryied to set http_proxy = 'domain > \username:password@192.168.1.32:3128' > but uri\common.rb reported BAD URI ... > > setting http_proxy = 'domain\\username:password@192.168.1.32:3128' > makes > the same Ruby does not support NTLM authentication by default which is what your proxy probably uses. Maybe this will help: http://rubyforge.org/projects/rubyntlm/