From: Charles Roper Date: 2006-11-13T23:15:09+09:00 Subject: Re: RubySSPI - Enabling NTLM proxy authentication on Windows On Nov 1, 5:02 pm, "Justin Bailey" wrote: > I'm pleased to announce the release of the RubySSPI library. Wow, Justin, thanks so much, this is a godsend. I just tried installing Ruby at work (behind an NTLM proxy) and instantly discovered I couldn't use gems. I did a bit of googling this morning, found this post and tried RubySSPI, half expecting something not to work, as is so often the case. But, to my delight, after adding the HTTP_PROXY environment variable and copying spa.rb to site_ruby directory it worked first time with absolutely no hassle (hint to anyone else reading this: read the README.txt file in the rubysspi gem directory). In order to use gems transparently with RubySSPI, I simply opened up the gem.bat file in %rubydir%\bin and changed line 6 to read: "%~d0%~p0ruby" -x -rspa "%~f0" %* (I just added the -rspa). Now gems works just like it does when not behind an NTLM proxy. As a test, I've successfully installed Rails and Mongrel without errors. Nice work and thanks once again. Charles