This code fragment used to work for me:

begin
  h = Net::HTTP.new("www.whatever.com", 80)
  resp, data = h.get("/", nil)
rescue => err
  puts "Error: #{err}"
  exit
end

Now it doesn't. What am I missing?

Hal