Wednesday, April 22, 2009

Starting WEBrick on a different port

For example, to start Rails on port 3001 (perhaps because you're running multiple Rails apps during development):

$ ruby script/server -p 3001

No comments:

Post a Comment