git push heroku masterでエラー出ちゃった
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.
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コマンドを
入力すると解決することができました。
Author And Source
この問題について(git push heroku masterでエラー出ちゃった), 我々は、より多くの情報をここで見つけました https://qiita.com/hayatoganbaru/items/1fc5da371f7762b33ebd著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .