オリジナルアプリをローカル環境で完成させたのですが、heroku上にデプロイができなくて困っています。
調べてみると、アプリを作成する際にherokuようにmysqlの設定をする必要があると言うのがありましたが、もう一度作り直すとなれば効率が非常に悪いので、他に方法はないかと詮索中です。
再度ゼロからやるしかないのでしょうか?どなたかご教授くだされば幸いです。よろしくお願いします。
% git push heroku master (省略) remote: ! remote: ! Could not detect rake tasks remote: ! ensure you can run `$ bundle exec rake -P` against your app remote: ! and using the production group of your Gemfile. remote: ! Activating bundler (2.2.1) failed: remote: ! Could not find 'bundler' (2.2.1) required by your /tmp/build_cd7c7df8/Gemfile.lock. remote: ! To update to the latest version installed on your system, run `bundle update --bundler`. remote: ! To install the missing version, run `gem install bundler:2.2.1` remote: ! Checked in 'GEM_PATH=/tmp/build_cd7c7df8/vendor/bundle/ruby/2.6.0', execute `gem env` for more information remote: ! remote: ! To install the version of bundler this project requires, run `gem install bundler -v '2.2.1'` remote: ! remote: /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/helpers/rake_runner.rb:106:in `load_rake_tasks!': Could not detect rake tasks (LanguagePack::Helpers::RakeRunner::CannotLoadRakefileError) remote: ensure you can run `$ bundle exec rake -P` against your app remote: and using the production group of your Gemfile. remote: Activating bundler (2.2.1) failed: remote: Could not find 'bundler' (2.2.1) required by your /tmp/build_cd7c7df8/Gemfile.lock. remote: To update to the latest version installed on your system, run `bundle update --bundler`. remote: To install the missing version, run `gem install bundler:2.2.1` remote: Checked in 'GEM_PATH=/tmp/build_cd7c7df8/vendor/bundle/ruby/2.6.0', execute `gem env` for more information remote: remote: To install the version of bundler this project requires, run `gem install bundler -v '2.2.1'` remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:885:in `rake' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:986:in `block in run_assets_precompile_rake_task' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:17:in `block in instrument' remote: from /tmp/tmp.G1tNkAAE36/lib/ruby/2.4.0/benchmark.rb:308:in `realtime' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:16:in `instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:48:in `instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:44:in `instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:984:in `run_assets_precompile_rake_task' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:134:in `block (2 levels) in compile' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:906:in `allow_git' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:128:in `block in compile' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:17:in `block in instrument' remote: from /tmp/tmp.G1tNkAAE36/lib/ruby/2.4.0/benchmark.rb:308:in `realtime' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:16:in `instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:48:in `instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:44:in `instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:116:in `compile' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/bin/support/ruby_compile:20:in `block (2 levels) in <main>' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:134:in `log' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/bin/support/ruby_compile:19:in `block in <main>' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:35:in `block in trace' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:17:in `block in instrument' remote: from /tmp/tmp.G1tNkAAE36/lib/ruby/2.4.0/benchmark.rb:308:in `realtime' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:16:in `instrument' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:35:in `trace' remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/bin/support/ruby_compile:15:in `<main>' remote: ! Push rejected, failed to compile Ruby app. remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to polar-waters-88164. remote: To https://git.heroku.com/polar-waters-88164.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/polar-waters-88164.git'