前提・実現したいこと
プログラミング初心者です。ローカル開発環境で作ったサービスをherokuで公開したいと思っています。OSはCentOSです。
発生している問題・エラーメッセージ
git push heroku masterを実行する際にエラーが発生してしまいpushすることができません。
Counting objects: 17220, done. Compressing objects: 100% (15908/15908), done. Writing objects: 100% (17220/17220), 56.72 MiB | 4.45 MiB/s, done. Total 17220 (delta 7432), reused 0 (delta 0) remote: Compressing source files... done. remote: Building source: remote: remote: ! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. remote: Detected buildpacks: Ruby,Node.js remote: See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order remote: -----> Ruby app detected remote: -----> Compiling Ruby/Rails remote: Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.3.1.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3. remote: Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.3.1.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3. remote: remote: ! remote: ! An error occurred while installing ruby-2.3.1 remote: ! remote: ! This version of Ruby is not available on Heroku-18. The minimum supported version remote: ! of Ruby on the Heroku-18 stack can found at: remote: ! remote: ! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes remote: ! remote: ! Push rejected, failed to compile Ruby app. remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to dry-falls-33347. remote:
試したこと
rubyのバージョンが2.3.1であることが原因なのかなとは思っていて色々調べてはみたのですが解決しなかったので質問させていただきました!
回答いただけると幸いです…!!
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/05/07 06:32
2019/05/07 06:39
2019/05/07 07:31
2019/05/07 08:53
2019/05/07 11:02
2019/05/07 11:36
2019/05/07 12:17