RubySSPI troubles
|
|
I’m struggling with getting RubySSPI to work. I’m about 99% certain the web proxy at my workplace is Windows using NTLM authentication. I’ve followed what was suggested here (make obvious modifications to the paths for my installation of Ruby): http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/202350 It’s not working. :( C:\Documents and Settings\sellsl1>ruby -rspa C:\ruby\bin\gem list—remote sspi
C:\Documents and Settings\sellsl1>ruby -rspa C:\ruby\bin\gem update rails Updating installed gems… ERROR: While executing gem … (Errno::EBADF) Bad file descriptor – connect(2) Any thoughts? |
|
|
Sam, I haven’t tried it myself, but a friend has a NTLM proxy at work, and says this works well. Check the article from our blog about this… there’s a comment left by Dr. Nic that might help as well. Let us know how it turns out. |
|
|
Thanks for the reply Brian…I have tried setting the HTTP_PROXY environment variable, with no change except for the error message: C:\ruby>ruby -rspa C:\ruby\bin\gem update rails—include-dependencies Updating installed gems… ERROR: While executing gem … (Gem::RemoteSourceException) HTTP Response 404 The following question will reveal how green I am: Are there Ruby environment variables set somewhere else? (I know how to set the Window’s ones). |