Rails服务器无法在生产模式下启动

问题描述 投票:1回答:0

我想在生产模式下启动我的rails服务器,但它立即退出。

rails server -e production
=> Booting Thin
=> Rails 4.1.4 application starting in production on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop
Exiting
ruby-on-rails production-environment
© www.soinside.com 2019 - 2024. All rights reserved.