當我爲生產模式安裝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