How to start WEBrick in a different port than 3000
Use -p
parameter
For Rails 2
ruby script/server -p3001
and for w/o command line ref this
EDITED For Rails 3
rails s -p3001
If you wanted to run on port 3001, add this bash script:
#!/bin/bash rails server -p 3001