cloud9からherokuにpushしようとしたら以下のエラーがでました。
同じエラーがでているほかの方のを調べてみましたがうまくいきませんでした。
どうかよろしくお願いします。
remote: Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.1). We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
bundleはherokuではバージョンが1.15.2のためインストールしましたが、うまくいきませんでした。
bundle 1.15.2 install
bundle 1.15.2
として失敗。
Gemfile.lockの中身を1.15.2にできればいいと思うのですがうまくいきません。
emote: !
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 secure-escarpment-31800.
remote:
To https://git.heroku.com/secure-escarpment-31800.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/secure-escarpment-31800.git'
試したこと
1.
rm -rf .git
git init
git add .
git commit -m "First commit"
heroku create --stack cedar
git push heroku master
2.
Gemfile.lockを削除
bundle install
こちらに関しては完全にお手上げです。
どうかよろしくお願いします。
回答1件
あなたの回答
tips
プレビュー