Ruby & Rails Compatibility Table
This is a short post to show the compatibility between Ruby on Rails and Ruby across different versions. In the process of upgrading really old applications to more modern versions of Ruby and Rails we have run into a lot of these combinations.
Rails Version | Required Ruby Version | Recommended Ruby Version | Required Rubygems Version | Status (Rails Maintenance Policy ) |
8.0.Z | >= 3.2.0 | 3.3 | >= 1.8.11 | Maintained for Bug Fixes and Security Issues |
7.2.Z | >= 3.1.0 | 3.3 | >= 1.8.11 | Maintained for Bug Fixes and Security Issues |
7.1.Z | >= 2.7.0 | 3.2.Z | >= 1.8.11 | Maintained for Bug Fixes and Security Issues |
7.0.Z | >= 2.7.0 | 3.1.Z | >= 1.8.11 | Maintained for Security Issues |
7.0.0 | >= 2.7.0 < 3.1 |
3.0.Z | >= 1.8.11 | Maintained for Security Issues |
6.1.Z | >= 2.5.0 | 3.0.Z | >= 1.8.11 | EOL (October 23rd, 2024) |
6.0.Z | >= 2.5.0 < 3.0.0 |
2.6.Z | >= 1.8.11 | EOL (June 1st, 2023) |
5.2.Z | >= 2.2.2 < 2.7.0 |
2.5.Z | >= 1.8.11 | EOL |
5.1.Z | >= 2.2.2 < 2.6.0 |
2.5.Z | >= 1.8.11 | EOL |
5.0.Z | >= 2.2.2 < 2.5.0 |
2.4.Z | >= 1.8.11 | EOL |
4.2.Z | >= 1.9.3 | 2.2 | >= 1.8.11 | EOL |
4.1.Z to 4.2.0 | >= 1.9.3 | 2.1 | >= 1.8.11 | EOL |
4.0.5 to 4.1.0.rc2 | >= 1.9.3 | >= 1.8.11 | EOL | |
4.0.0 to 4.0.Z | >= 1.8.7 | >= 1.8.11 | EOL | |
3.2.Z | 1.8.7 | 2.2 | >= 1.3.6 | EOL |
3.2.13 to 3.2.22.4 | 1.8.7 | 2.0 | >= 1.3.6 | EOL |
2.3.0 to 3.2.13.rc2 | 1.8.7 | 1.9.3 | >= 1.3.6 | EOL |
0.8.0 to 2.2.3.rc2 | 1.8.7 | >= 1.3.6 | EOL |
To find more information about the most recent Ruby releases check out this page: Ruby Releases
Need to Upgrade Rails?
If you want to upgrade Rails, check out our series of articles that cover from Rails 2.3 to Rails 7.0: Articles by FastRuby.io about Rails upgrades .
If you don’t have the time to do it yourself you can hire our team to do it for you, send us a message over here: Contact FastRuby.io | Rails Upgrade Service
The Complete Guide to Upgrade Rails (eBook)
If you want to download our ebook (which covers steps from Rails 2.3 to Rails 6.1) we will be happy to mail you a free copy: Download The Complete Guide to Upgrade Rails
Feedback Wanted: Updates
If you find that this article has fallen out of date, feel free to make a comment for us to bring it up to speed. We will continue to update this article as new versions of Ruby and Rails are released.