This is really more about accessing rubygems and installing *anything*
from behind a proxy, but for myself the whole purpose of installing
Ruby and accessing RubyGems is for Watir, so might be useful for this
list.

The problem lies with being behind a firewall and a normal command-
line ruby install request not being able to access rubygems.

I solved it with RubySSPI.  This enables NTLM proxy authentication for
Ruby on Windows. It uses the Microsoft Security Support Provider
Interface (SSPI) to enable Ruby programs using Net::HTTP to
authenticate via the proxy as the current Windows server.

http://rubyforge.org/projects/rubysspi

The gem includes a file called spa.rb. Copy this file to your
site_ruby directory and then run the gem script directly:

  ruby -rspa 'C:\ruby191\bin\gem' install watir

Easy. Done.

Thought this might be useful for someone searching the list.

- J

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to