Authenticating Windows Proxy Problems
How can I install a gem from behind a Windows proxy that requires authentication? I?ve tried username(colon)password(at)proxyaddress in the?http-proxy url but that doesn?t seem to work.
This suggests you?re behind an MS Proxy that does NTLM authentication. The proxy support in Ruby is currently only for Basic authentication.
A workaround is to install
http://apserver.sourceforge.net apserver on your local machine, configure it and run gems through this proxy.
* Install: Just download apserver 097 (and not the experimental 098!) and unpack.
* Configure: Edit the server.cfg file and put the values for your MS proxy in PARENT_PROXY and PARENT_PROXY_PORT. Enter the values for DOMAIN and USER. Leave PASSWORD blank (nothing after the colon) ? you will be prompted when launching it.
* Run apserver: cd aps097; python main.py
* Run Gems: gem install?http-proxy
http://localhost:5865/ library