How to start the server with no network connection?

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?