[2011-09-11 06:14:12] INFO WEBrick::HTTPServer#start: pid=32723 port=3000
How to start WEBrick in a different port than 3000, is there a way to specify this information in a config file instead of the command line argument ("-p")
[2011-09-11 06:14:12] INFO WEBrick::HTTPServer#start: pid=32723 port=3000
How to start WEBrick in a different port than 3000, is there a way to specify this information in a config file instead of the command line argument ("-p")
If you wanted to run on port 3001, add this bash script:
#!/bin/bash
rails server -p 3001