Question

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?

Était-ce utile?

La solution 2

it's worth trying the following command

$ rails s -d

Autres conseils

It should be:

rails server --daemon

# to kill the server
kill `cat tmp/pids/server.pid`

# to tail development logs for debugging
tail -f log/development.log
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top