Back to Ruby
Ruby 3.4 vs 4.0
Version Support Lifecycle Comparison
vs
Version 3.4
3.4
Active
Release Date2024-12-24
Support Ends-
EOL Date2028-03-31
Days Left482 days
Latest Version3.4.10
Version 4.0
4.0
Active
Release Date2025-12-25
Support Ends-
EOL Date2029-03-31
Days Left847 days
Latest Version4.0.6
💡 Upgrade Recommendation
We recommend upgrading from 3.4 to 4.0. 4.0 has a longer support lifecycle.
Migration Guide: Ruby 3.4 4.0
A Ruby major removes years of deprecations at once. Read the NEWS file first, then upgrade gems in dependency order.
Read the full migration guideRuby 3.4 vs 4.0: which should you choose?
Ruby 3.4 was released on 2024-12-24, active support ends on not announced by the vendor, and it reaches end of life on 2028-03-31. Ruby 4.0 was released on 2025-12-25, active support ends on not announced by the vendor, and it reaches end of life on 2029-03-31. Overall, migrating to the newer release gives you a longer window of security updates when practical.