当我为生产模式安装Puma后,它不应该在我的本地机器上运行,但是Puma在开发模式下启动并且在没有错误之后停止。Rails开发模式没有Puma
$ rails server
=> Booting Puma
=> Rails 4.2.2 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[8707] Puma starting in cluster mode...
[8707] * Version 3.1.0 (ruby 2.3.0-p0), codename: El Niño Winter Wonderland
[8707] * Min threads: 1, max threads: 6
[8707] * Environment: development
[8707] * Process workers: 1
[8707] * Phased restart available
[8707] * Listening on tcp://localhost:3000
[8707] Use Ctrl-C to stop
它看起来就像是一个捆绑的问题: github.com/puma/puma/issues/983
尝试禁用你的gemfile中的美洲狮宝石#宝石'美洲狮','〜> 3.4',看看这是否会改变任何事情。 – mrvncaragay
谢谢mrvncaragay!只有当我从生产中移除美洲狮时,它才会起作用,但我确实需要在生产模式 – ChaosPredictor
中轻松修复美洲狮。在挖掘模式下取消注释。在开发模式中发表评论:) – mrvncaragay