Whenever a site is down it keeps on looking for it for sometime and
throws error:
the instruction I run is:

browser.goto(site_url)

C:/Ruby187/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill': execution expired
(Timeout::Error)
        from ../lib/hands.rb:74:in `join'
        from ../lib/hands.rb:74
        from ../lib/hands.rb:72:in `each'
        from ../lib/hands.rb:72


How to catch this error?

-- 
Posted via http://www.ruby-forum.com/.