I am trying to use open-uri with Nokogiri
class Script
require 'nokogiri'
require 'open-uri'
open("http://www.ruby-lang.org/") {|f|
f.each_line {|line| p line}
}
end
It is timing out with the following error
in `initialize': execution expired (Net::OpenTimeout)
Any idea why this is happening?