[Mongrel] How to start the server with no network connection?

Cyril Cyril lists at ruby-forum.com
Thu Jun 18 22:21:06 EDT 2009


Hi there,

I'm working locally and everything worked fine. But today I wanted to
work somewhere where there is no network connection, and I had this
error:

script/server
=> Booting Mongrel
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in
`initialize': getaddrinfo: nodename nor servname provided, or not known
(SocketError)

How should I configure my server to start even if I'm not connected to
any network?
-- 
Posted via http://www.ruby-forum.com/.


More information about the Mongrel-users mailing list