Rails服务器立即退出(瘦)

时间:2014-05-09 01:07:53

标签: ruby-on-rails thin

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

1 个答案:

答案 0 :(得分:4)

'rails server' starts thin twice, shuts both down. Cucumber still works ...在你的情况下删除gemfile.lock并运行另一个bundle install。