rails s
导致服务器立即退出。与我发现的其他帖子相反,我没有收到错误代码。日志是:
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Thin web server (v1.6.1 codename Death Proof)
Maximum connections set to 1024
Listening on 0.0.0.0:62932, CTRL+C to stop
=> Booting Thin
=> Rails 4.0.0 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Thin web server (v1.6.1 codename Death Proof)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop
Exiting
我使用的是Rails 4.0.0
最佳答案
'rails server' starts thin twice, shuts both down. Cucumber still works ...在您的情况下,删除 gemfile.lock 并运行另一个 bundle 安装。
关于ruby-on-rails - Rails 服务器立即退出(瘦),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23555124/