質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Q&A

0回答

617閲覧

herokuへデプロイができません。

sk-

総合スコア2

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

0グッド

0クリップ

投稿2021/04/28 08:47

heroku logs --tail --app した後のターミナル

2021-04-28T08:26:01.083975+00:00 app[api]: Starting process with command `rails db:migrate` by user メールアドレス 2021-04-28T08:26:05.992357+00:00 heroku[run.9292]: Awaiting client 2021-04-28T08:26:06.011828+00:00 heroku[run.9292]: Starting process with command `rails db:migrate` 2021-04-28T08:26:06.193958+00:00 heroku[run.9292]: State changed from starting to up 2021-04-28T08:26:12.670311+00:00 heroku[run.9292]: Process exited with status 0 2021-04-28T08:26:12.774594+00:00 heroku[run.9292]: State changed from up to complete 2021-04-28T08:27:49.000000+00:00 app[api]: Build started by user メールアドレス 2021-04-28T08:27:52.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/cbcd8271-858f-4b81-82a9-dc347d5e57c9/activity/builds/2d30c907-1d43-41a4-8abc-1a5fa54fab53

bundle exec rake -Pをした結果です。

rake about environment rake action_mailbox:copy_migrations rake action_mailbox:ingress:environment rake action_mailbox:ingress:exim action_mailbox:ingress:environment rake action_mailbox:ingress:postfix action_mailbox:ingress:environment rake action_mailbox:ingress:qmail action_mailbox:ingress:environment rake action_mailbox:install environment run_installer copy_migrations rake action_mailbox:install:migrations rake action_mailbox:run_installer rake action_text:copy_migrations rake action_text:install environment run_installer copy_migrations rake action_text:install:migrations rake action_text:run_installer rake active_storage:install environment rake active_storage:install:migrations rake active_storage:update environment rake app:template environment rake app:templates:copy rake app:update update:configs update:bin update:active_storage update:upgrade_guide_info rake app:update:active_storage rake app:update:bin rake app:update:configs rake app:update:upgrade_guide_info rake assets:clean environment rake assets:clobber environment rake assets:environment rake assets:precompile environment yarn:install rake cache_digests:dependencies environment rake cache_digests:nested_dependencies environment rake db:_dump rake db:abort_if_pending_migrations load_config rake db:charset load_config rake db:check_protected_environments load_config rake db:collation load_config rake db:create load_config rake db:create:all load_config rake db:drop load_config check_protected_environments rake db:drop:_unsafe load_config rake db:drop:all load_config check_protected_environments rake db:environment:set load_config rake db:fixtures:identify load_config rake db:fixtures:load load_config rake db:forward load_config rake db:load_config environment rake db:migrate load_config rake db:migrate:down load_config rake db:migrate:redo load_config rake db:migrate:reset db:drop db:create db:migrate rake db:migrate:status load_config rake db:migrate:up load_config rake db:prepare load_config rake db:purge load_config check_protected_environments rake db:purge:all load_config check_protected_environments rake db:reset db:drop db:setup rake db:rollback load_config rake db:schema:cache:clear load_config rake db:schema:cache:dump load_config rake db:schema:dump load_config rake db:schema:load load_config check_protected_environments rake db:schema:load_if_ruby db:create environment rake db:seed load_config rake db:seed:replant load_config truncate_all seed rake db:setup db:schema:load_if_ruby db:structure:load_if_sql seed rake db:structure:dump load_config rake db:structure:load load_config check_protected_environments rake db:structure:load_if_sql db:create environment rake db:test:load db:test:purge rake db:test:load_schema db:test:purge rake db:test:load_structure db:test:purge rake db:test:prepare load_config rake db:test:purge load_config check_protected_environments rake db:truncate_all load_config check_protected_environments rake db:version load_config rake default test rake dev:cache environment rake environment rake initializers environment rake log:clear rake middleware environment rake notes environment rake notes:custom environment rake notes:fixme environment rake notes:optimize environment rake notes:todo environment rake railties:install:migrations db:load_config rake restart rake routes environment rake secret rake stats rake test rake test:channels test:prepare rake test:controllers test:prepare rake test:db db:test:prepare test rake test:functionals test:prepare rake test:generators test:prepare rake test:helpers test:prepare rake test:integration test:prepare rake test:jobs test:prepare rake test:mailboxes test:prepare rake test:mailers test:prepare rake test:models test:prepare rake test:prepare rake test:run test rake test:system test:prepare rake test:units test:prepare rake time:zones rake time:zones:all rake time:zones:local rake time:zones:us rake tmp rake tmp/cache rake tmp/cache/assets rake tmp/pids rake tmp/sockets rake tmp:cache:clear rake tmp:clear tmp:cache:clear tmp:sockets:clear tmp:screenshots:clear rake tmp:create tmp/cache tmp/sockets tmp/pids tmp/cache/assets rake tmp:pids:clear rake tmp:screenshots:clear rake tmp:sockets:clear rake webdrivers:chromedriver:remove rake webdrivers:chromedriver:update rake webdrivers:chromedriver:version rake webdrivers:edgedriver:remove rake webdrivers:edgedriver:update rake webdrivers:edgedriver:version rake webdrivers:geckodriver:remove rake webdrivers:geckodriver:update rake webdrivers:geckodriver:version rake webdrivers:iedriver:remove rake webdrivers:iedriver:update rake webdrivers:iedriver:version rake webpacker rake webpacker:binstubs check_node check_yarn rake webpacker:check_binstubs rake webpacker:check_node rake webpacker:check_yarn rake webpacker:clean webpacker:verify_install environment rake webpacker:clobber webpacker:verify_install environment rake webpacker:compile webpacker:verify_install environment rake webpacker:info rake webpacker:install check_node check_yarn rake webpacker:install:angular webpacker:verify_install rake webpacker:install:coffee webpacker:verify_install rake webpacker:install:elm webpacker:verify_install rake webpacker:install:erb webpacker:verify_install rake webpacker:install:react webpacker:verify_install rake webpacker:install:stimulus webpacker:verify_install rake webpacker:install:svelte webpacker:verify_install rake webpacker:install:typescript webpacker:verify_install rake webpacker:install:vue webpacker:verify_install rake webpacker:verify_install check_node check_yarn check_binstubs rake webpacker:yarn_install rake yarn:install webpacker:yarn_install rake zeitwerk:check environment

エラー分に書いてあるとうりrails db:migrateをしてみたんですが直りませんでした。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

sk-

2021/04/28 09:05

エラーが変わりまして
Takumiboo

2021/04/28 09:08

質問は編集できますので、元の質問にそのエラーを書けば良いでしょう。元の質問で回答やコメントをくださっている方がいるのにその都度新たに質問をされているようでは、回答する側のやる気も削がれて回答がつかなくなりますよ。
mather

2021/04/28 09:09

質問内容は編集できますので、「〇〇してみたらこのようにエラーが変わりました。」と追記すればよいです。
sk-

2021/04/28 09:25

すみません
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問