LoginSignup
0
0

More than 1 year has passed since last update.

git push heroku masterでエラー出ちゃった

Posted at

git push heroku masterコマンドでエラーが起こったので
アウトプットしていきたいと思います。

エラー内容

Image from Gyazo

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コマンドを
入力すると解決することができました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0