WATIR under the bridge (Proxy)
Hit this today attempting to install WATIR on my current development box. The domain has a proxy server that has only occasionally caused me issues, but now I was unable to use gem to install WATIR unless I could configure the proxy. The correct syntax was harder to find than I expected, so I thought I would capture it here:
To configure a proxy server, with associated username and password, execute this in your command window: (obviously replace out the relevant bits)
set HTTP_PROXY=http://username:password@domain-proxy-name:8080
The thread that I happened to find this on was here, I am sure there are others
http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/fdcc4268553756de?pli=1
Running gem update --system Now succeeded, however my attempt to run gem install watir kept timing out, not sure why, so I fell back to downloading the gem file to disk then running the install with a local path gem install c:\path…\watir-1.6.2.gem and I was up and running.
© Copyright 2009 - Andreas Zenker