如何运行 Rails 服务器守护进程? [英] how can I run rails server daemon?

查看:64
本文介绍了如何运行 Rails 服务器守护进程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 rails world 的新手,需要在守护进程模式下运行我的 rails 测试服务器..

I am new at rails world and need to run my rails test server in daemon mode..

我注意到有一个 -d 标志,但它对我不起作用..

I've noticed that there is a a -d flag but its not working for me..

rails -s -d 

不应该是这样吗?

推荐答案

下面的命令值得一试

$ rails s -d

这篇关于如何运行 Rails 服务器守护进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆