我正在使用Mongoid開發ROR項目。運行軌道脫機服務器時,應用程序工作正常,但是當我在Heroku上部署它是我沒有使用ActiveRecords但使用Mongoid所以請建議我任何解決這個問題拋出我這個錯誤Heroku with ruby on rails and Mongoid
2016-02-03T16:34:08.405268+00:00 heroku[web.1]: Process exited with status 1
2016-02-03T16:34:08.394021+00:00 heroku[web.1]: State changed from starting to crashed
2016-02-03T16:35:22.597553+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by [email protected]
2016-02-03T16:35:26.533751+00:00 heroku[run.9627]: Awaiting client
2016-02-03T16:35:26.926674+00:00 heroku[run.9627]: State changed from starting to up
2016-02-03T16:35:56.536107+00:00 heroku[run.9627]: Error R13 (Attach error) -> Failed to attach to process
2016-02-03T16:35:57.348246+00:00 heroku[run.9627]: State changed from up to complete
2016-02-03T16:35:57.337946+00:00 heroku[run.9627]: Process exited with status 128
2016-02-03T16:38:37.531037+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/user/all" host=attendmare.herokuapp.com request_id=2d492460-a6cd-44f1-8c72-67b84e92e4e6 fwd="198.7.58.147" dyno= connect= service= status=503 byte
。
在此先感謝
這不是很好的工作 - 當然堆棧跟蹤有更多的東西要繼續下去。 – max