Andreas Zenker

a boy named goo

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

Comments

Dave said:

FWIW, I recently heard about WATIN, where the "R for Ruby" si replaced by a "N for .Net". If you're already familiar with .Net and don't feel like ramping up on Ruby, this might be something worth checking out. http://watin.sourceforge.net/

# January 22, 2009 7:05 AM

azenker said:

Very cool! I hadn't heard about that and it is an attractive option. Especially when you work in an environment where installing ruby on all the dev machines may not be an option. Thanks for the tip!

# January 22, 2009 11:59 AM

Mike said:

Guys, that's not cool at all! C'mon.. I mean, how do you even pronounce "WATIN"?!

# January 22, 2009 4:35 PM

azenker said:

LOL!! That is a good point! Might need some more letters.

SWATIN ? ([S]uperior)

WALTIN ? (and [L]oad)

WAITIN ? ([I]nterface)

# January 23, 2009 1:31 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)