前提・実現したいこと
Railsチュートリアルにて、herokuへデプロイする際にエラー発生。
下記、2点を解決したいです。
発生している問題・エラーメッセージ
①remote: Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.1). We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
②remote: (See full trace by running task with --trace)
remote:
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to <自分のheroku名です>
remote:
To https://git.heroku.com/youarezozo.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/ <自分のheroku名です>
該当のソースコード
Ruby on Rails ### 試したこと ①gem install bundler → git add -A → git commit → git push heroku しましたが再度同じエラーがでます。 ②config.assets.initialize_on_precompile = false を config/application.rb の一番下に記載。 ### 補足情報(FW/ツールのバージョンなど) ここにより詳細な情報を記載してください。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。