문제

rails s causes the server to exit immediately. Contrary to other posts I have found, I get no error code. The logs are:

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

I am using Rails 4.0.0

도움이 되었습니까?

해결책

'rails server' starts thin twice, shuts both down. Cucumber still works ... In your case delete the gemfile.lock and run another bundle install.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top