Ruby & Rails Compatibility Table

Ruby & Rails Compatibility Table

This is a short post to show the compatibility between Ruby on Rails opens a new window and Ruby opens a new window 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 opens a new window Required Ruby Version opens a new window Recommended Ruby Version Required Rubygems Version opens a new window Status (Rails Maintenance Policy opens a new window )
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 opens a new window
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 opens a new window
2.6.Z >= 1.8.11 EOL (June 1st, 2023)
5.2.Z >= 2.2.2
< 2.7.0 opens a new window
2.5.Z >= 1.8.11 EOL
5.1.Z >= 2.2.2
< 2.6.0 opens a new window
2.5.Z >= 1.8.11 EOL
5.0.Z >= 2.2.2
< 2.5.0 opens a new window
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 opens a new window

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 opens a new window .

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 opens a new window

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 opens a new window

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.

Get the book