Ruby Versions and Cedar 14
Last updated 22 January 2016
Cedar-14 deliver a newer operating system than the previous stack. Certain versions of Ruby 2.1 are not able to compile on Cedar-14 and they will not be available.
If you deploy and are getting an error stating that your Ruby could not be installed, then you may need to use a more recent version of Ruby.
See the list of supported Ruby versions.
How to update
Specifying a version of Ruby can be done by updating your Gemfile.
For example, if your Gemfile has this line:
Please update it to a more recent Ruby version in the
2.1 family, for example
You can find the latest supported version of Ruby 2.1 on the Ruby support page.
Prior to Ruby 2.1, the Ruby project used version scheme that included
<major>.<minor>.<teeny>-<patch> such as
1.9.3-p545. As security releases came out, the patch would change, but the rest of the version
1.9.3 would stay the same. This is no longer true.
Now Ruby no longer uses a patch version and updates the
<teeny> on security fixes. This means that
2.1.4 should be identical to
2.1.0 except that it has performance and security fixes. You should always be using the latest patch level of a Ruby version available.
It is important to note that while this looks like semver, it is not. Ruby will from time to time release backwards incompatible patches for security vulnerabilities that cannot be fixed otherwise.