2017-08-26 2 views
0

herokuにプッシュできません。 バンドル業者はnokogiri 1.6.8.1のunmet依存関係を発見しました。herokuへのPushが失敗しました:公開された依存関係がAPIまたはlockfileにありません

$ git push heroku master 
.... 
remote:  The latest bundler is 1.15.4, but you are currently running 1.15.2. 
remote:  To update, run `gem install bundler` 
remote:  Downloading nokogiri-1.6.8.1 revealed dependencies not in the API or the 
remote:  lockfile (mini_portile2 (~> 2.1.0)). 
remote:  Either installing with `--full-index` or running `bundle update nokogiri` should 
remote:  fix the problem. 
remote: ! 
remote: !  Failed to install gems via Bundler. 
remote: ! 
remote: !  Push rejected, failed to compile Ruby app. 
remote: 
remote: !  Push failed 
remote: Verifying deploy... 
remote: 
remote: !  Push rejected to digitreco. 

私はHeroku -16スタックを使用しています。私はGemfileでnokogiriを1.5.9にダウングレードしようとしましたが、それは他の依存関係のために1.6.0に解決されます。

何か助けていただければ幸いです。

答えて

1

2番目の問題(nokogiri & mini_portile2ファイルの不一致)の解決方法があります。

gem install nokogiri # step 1 
bundle install   # step 2 
bundle update   # step 3 
bundle install   # step 4 
bundle install   # step 5 
bundle update   # step 6 
git commit -a -m "Fix nokogiri and mini_portile2 problem" # step 7 
git push    # step 8 
git push heroku master # step 9 

手順2〜6は繰り返し冗長ですが、私は自分のbash履歴を使って歩みを進んでいます。

最初の問題の解決策はありませんが、第2の問題を解決したら、最初の問題は単なる警告でした。

私はこれがうまくいきたいと思います。

-ben

関連する問題