7stud -- wrote:
> require 'socket'

And how exactly will that help? Especially since net/http.rb already 
does

  require 'net/protocol'

and net/protocol.rb does

  require 'socket'

??

*Read* the error message. It says:

"getaddrinfo: no address associated with hostname"

That is: there was an error in resolving a name to an IP address. Not 
that a Ruby constant hadn't been defined.
-- 
Posted via http://www.ruby-forum.com/.