I am new at rails world and need to run my rails test server in daemon mode..
I've noticed that there is a a -d flag but its not working for me..
rails -s -d
shouldn't it be like this?
it's worth trying the following command
$ rails s -d
It should be:
rails s -d
# to kill the server
kill `cat tmp/pids/server.pid`
来源:https://stackoverflow.com/questions/14964002/how-can-i-run-rails-server-daemon