これまでに何度も尋ねられてきましたが、これまでのソリューションはこれまで私にとっては役に立たなかった。はHartlのRuby on Railsチュートリアルchapt 7からHerokuアプリを実行できません
私は初心者だけど、私はRailsのを学ぶためにしようとしていると私はfamous tutorial from Hartlを以下のよ、私はこれまでの私のプロジェクトの章7
This is the Github pageでよ、とthis is the Heroku app
Herokuのウェブサイトは述べています:
アプリケーションエラー
アプリケーションでエラーが発生し、ページを処理できませんでした。アプリケーションの所有者であれば、ログで詳細を確認してください。
$ heroku logs
は言う:
app[api]: Initial release by user [email protected]
app[api]: Release v1 created by user [email protected]
app[api]: Release v2 created by user [email protected]
app[api]: Enable Logplex by user [email protected]
app[api]: Release v2 created by user [email protected]
app[api]: Starting process with command "rake db:migrate" by user [email protected]
heroku[run.5962]: Awaiting client
heroku[run.5962]: State changed from starting to up
heroku[run.5962]: Starting process with command "rake db:migrate"
heroku[run.5962]: Process exited with status 127
heroku[run.5962]: State changed from up to complete
app[api]: Starting process with command "rails db:migrate" by user [email protected]
heroku[run.3462]: State changed from starting to up
heroku[run.3462]: Awaiting client
heroku[run.3462]: Starting process with command "rails db:migrate"
heroku[run.3462]: State changed from up to complete
heroku[run.3462]: Process exited with status 127
app[api]: Build started by user [email protected]
app[api]: Set LANG, RACK_ENV, RAILS_ENV, RAILS_LOG_TO_STDOUT, RAILS_SERVE_STATIC_FILES, SECRET_KEY_BASE config vars by user [email protected]
app[api]: Release v3 created by user [email protected]
app[api]: Release v3 created by user [email protected]
app[api]: Release v4 created by user [email protected]
app[api]: Release v4 created by user [email protected]
app[api]: Attach DATABASE (@ref:postgresql-clear-76865) by user [email protected]
app[api]: Deploy ec2b24d by user [email protected]
app[api]: Scaled to [email protected]:Free [email protected]:Free [email protected]:Free [email protected]:Free by user [email protected]
app[api]: Release v5 created by user [email protected]
app[api]: Release v5 created by user [email protected]
app[api]: Build succeeded
heroku[web.1]: Starting process with command "bundle exec pume -C config/puma.rb"
app[web.1]: bundler: command not found: pume
app[web.1]: Install missing gem executables with "bundle install"
heroku[web.1]: State changed from starting to crashed
heroku[web.1]: State changed from crashed to starting
heroku[web.1]: Process exited with status 127
heroku[web.1]: Starting process with command "bundle exec pume -C config/puma.rb"
app[web.1]: bundler: command not found: pume
app[web.1]: Install missing gem executables with "bundle install"
heroku[web.1]: Process exited with status 127
heroku[web.1]: State changed from starting to crashed
app[api]: Starting process with command "bundle exec rake db:migrate" by user [email protected]
heroku[run.7856]: Awaiting client
heroku[run.7856]: Starting process with command "bundle exec rake db:migrate"
heroku[run.7856]: State changed from starting to up
heroku[run.7856]: Process exited with status 0
heroku[run.7856]: State changed from up to complete
heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=infinite-thicket-26445.herokuapp.com request_id=c026b5fa-c5fd-49da-8117-8a237a54926a fwd="83.42.129.78" dyno= connect= service= status=503
heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=infinite-thicket-26445.herokuapp.com request_id=b7fc3150-d64f-4496-b2c9-0e010eeed3b9 fwd="83.42.129.78" dyno= connect= service= status=503
heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=infinite-thicket-26445.herokuapp.com request_id=8ed0ddde-7128-4efb-bf31-670c32129e8c fwd="83.42.129.78" dyno= connect= service= status=503
私はHerokuのダイナモ(
$ heroku restart
) を再起動しようとしているの移行(両方
を行うことを試してみました
アプリが動作しますyはすばらしく(
:development
に)、本のテストはすべて緑色です。出力
$ heroku ps
から:
=== web (Free): bundle exec pume -C config/puma.rb (1) web.1: crashed 2017/04/17 16:21:13 +0200 (~ 2h ago)
$ bundle update
は再び.Procfile
それを再構築するGemfile.lock
を削除するだけでなく、何度も実行されていている、チュートリアルで示唆されているように:
web: bundle exec puma -C config/puma.rb
$ heroku run rails db:migrate
と
$ heroku run rake db:migrate
)
と、これは奇妙です:WHY pume
heroku[web.1]: Starting process with command bundle exec pume -C config/puma.rb
app[web.1]: bundler: command not found: pume
:$ heroku logs
で
- 私はこれを気づきましたか?
.Procfile
では、それはそれを言わない!edit2:作業を開始した後、アプリの名前を変更しました。今では、愚かな
https://manuel-sample-app.herokuapp.com/
ようこそ。 "[ask]"と "[mcve]"とそのリンク先ページをお読みください。あなたのコードへのリンクは有用ではなく、望ましいものでもありません。代わりに、コードを最小限に抑えて、問題を複製し、それを質問自体に挿入します。リンクは腐ってから壊れ、その時点で質問はナンセンスに変わります。 –