いざgit push heroku master
####これまでやったこと
- Railsアプリケーションを、Heroku用に変更
- herokuにログイン
$ git init $ git add * $ git commit -m "Release to heroku" $ git push heroku master ←←ここでエラー発生
発生している問題・エラーメッセージ
remote: ! remote: ! An error occurred while installing ruby-2.3.3 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: !
該当のソースコード
Gemfile
1ruby '2.3.3' ←ここがサポート外みたいです。
試したこと
エラー文にあったURLに飛んで、サポートのコードを見つけました。
9.1.15.0, Ruby Versions: [2.3.3]
さらにrubyのバージョン変換ページを見て
https://devcenter.heroku.com/articles/ruby-versions
以下のように書き換えました。
ruby "2.3.3", :engine => "jruby", :engine_version => "9.1.15.0"
[!] There was an error parsing `Gemfile`: Please define :engine. Bundler cannot continue. # from C:/Users/ala-n/Desktop/Geeksalon/ma_sieste/Gemfile:5 # ------------------------------------------- # > gem 'slim-rails', '3.1.3' # source 'https://rubygems.org' # -------------------------------------------
補足情報
windowsユーザーです。
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/12/13 04:14 編集
2018/12/13 04:24
2018/12/19 01:19