Closed stephenrichards closed 5 years ago
Hi @stephenrichards, Heroku does support 2.3.1 but by default it uses is 2.2.5. To get 2.3.1 you have to specify the ruby version in your Gemfile.
I've done this on a few apps that are on heroku including the GOVUK Elements Form Builder Guide. https://github.com/ministryofjustice/govuk_elements_rails_guide/blob/master/Gemfile#L21-L23
https://devcenter.heroku.com/articles/ruby-support https://devcenter.heroku.com/articles/ruby-versions
The gemspec specifies ruby 2.3.1 and there is code which uses the new &. instead of .try.
This means apps which use this gem cannot be deployed to Heroku which only supports 2.2.5