how can I run rails server daemon?

后端 未结 2 733
借酒劲吻你
借酒劲吻你 2021-01-31 03:31

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..

rai         


        
相关标签:
2条回答
  • 2021-01-31 03:48

    It should be:

    rails s -d
    
    # to kill the server
    kill `cat tmp/pids/server.pid`
    
    0 讨论(0)
  • 2021-01-31 04:08

    it's worth trying the following command

    $ rails s -d
    
    0 讨论(0)
提交回复
热议问题