現在私はRails tutorialというサイトを使って勉強しております。
この中でHerokuへのデプロイというものが出てきたのでサイトに沿ってHerokuの導入を行ったのですがプッシュのときにエラーが発生しました。
具体的には
$ bundle install --without production
$ git commit -a -m "Update Gemfile for Heroku"
$ source <(curl -sL https://cdn.learnenough.com/heroku_install)
$ heroku login
$ heroku keys:add
$ git push heroku master
このプッシュのときにエラーとなり
remote: ! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
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 rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/nameless-crag-12096.git'
という内容のエラーとなりました。
一応add .してからcommitしてみたりもしたのですが同様のエラーが返ってきて進むことができません。
どなたか解決方法が分かる方がいらっしゃったら教えていただけると助かります。
回答1件
あなたの回答
tips
プレビュー