部署到 Heroku 每一步都是按照书上来做的,完成 heroku create 后 $ git push -u heroku master
之后有个警告,不知道这个有没有问题? remote: ###### WARNING: remote: remote: Detecting rails configuration failed remote: set HEROKU_DEBUG_RAILS_RUNNER=1 to debug
用以下命令查看了一下记录 $heroku logs --tail
记录的最后一部分有如下的错误 2019-03-27T03:12:59.633659+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=evening-headland-50906.herokuapp.com request_id=ace14164-e2ea-4844-aefe-b50cdd276348 fwd="161.202.48.247" dyno= connect= service= status=503 bytes= protocol=https 2019-03-27T03:13:00.735273+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=evening-headland-50906.herokuapp.com request_id=164daabd-523f-4093-a979-105d95010a1e fwd="161.202.48.247" dyno= connect= service= status=503 bytes= protocol=https 2019-03-27T03:14:08.649975+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=evening-headland-50906.herokuapp.com request_id=b564bcd5-fd21-46be-b8cc-ef4f4da1ecf3 fwd="161.202.48.247" dyno= connect= service= status=503 bytes= protocol=https 2019-03-27T03:14:09.935469+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=evening-headland-50906.herokuapp.com request_id=0ac2ec6a-b39a-4737-b4ae-0c9fda5e4261 fwd="161.202.48.247" dyno= connect= service= status=503 bytes= protocol=https
程序在本地都是正常的,按照书上的步骤部署到 Heroku 就不行了,不知道应该从哪里查起?