Tuesday, November 13, 2007

Ruby on Rails - changing the default IP, server startup

How to get informative error pages:
$ script/server --environment=development

How to get informative error pages and access from a different box:
$ script/server --binding=<your IP goes here> --environment=development

The default, if you start with script/server you get the following:
$ script/server --binding=127.0.0.1 --environment=production

No comments: