git push heroku masterコマンドでエラーが起こったので
アウトプットしていきたいと思います。
エラー内容
Warning: Multiple default buildpacks reported the ability to handle this app.
The first buildpack in the list below will be used.
bundlerに関するエラー?
Failed to install gems via Bundler.
こちらも同様にbundlerのバージョンに関するエラーなのか?
と思いbundler -vコマンドでバージョンを調べて見ると
Bundler version 2.1.4
でバージョンは問題ナッシングソウマッチ。
gem同士のバージョンに関するエラーでした
remote: Unable to find a spec satisfying nokogiri (>= 1.8.5) in the set. Perhaps the
remote: lockfile is corrupted? Found nokogiri (1.11.7-x86_64-darwin), nokogiri
remote: (1.11.7-x86_64-darwin), nokogiri (1.11.7-x86_64-darwin), nokogiri
remote: (1.11.7-x86_64-darwin), nokogiri (1.11.7-x86_64-darwin) that did not match the
remote: current platform.
nokogiriを満たすスペックが見つかってませんよ!!と怒られてます。
gem同士のバージョンにすれ違いがある為エラーが起こっているようです。
bundle update
をして
git push heroku masterコマンドを
入力すると解決することができました。