A Ruby application is detected when it has a
Gemfile file in the root
directory. If your application has no dependencies, it should include an empty
MRI Ruby versions
All MRI Ruby versions 1.9+ and 2.+ are supported. Newer versions are
automatically compiled on-demand if you ask for them.
Your version will either default to
2.3.4, or the version you've specified in your
Gemfile. For instance:
cat Gemfile source "https://rubygems.org" ruby "2.3.0" # rest of your Gemfile
The most recent versions we officially support are as follow:
|Ruby version||Rubygems version|
Generally, you should follow the guidelines outlined in this Heroku article.
JRuby versions are no longer supported at the moment.