Ruby 4.0 is the first major version bump in over a decade, but most of the work is under the hood. Here is what actually breaks when moving a Rails app from 3.4.4 to 4.0.3, what you gain, and a phased upgrade plan you can run in a week.
Ruby e Rails estão entrando em uma nova fase. Com Ruby 4, Rails 8.1, Infraestrutura Zero, Hotwire, Vite, IA integrada e uma abordagem cada vez mais orientada à simplicidade operacional, o ecossistema deixa para trás a cultura da complexidade excessiva e reafirma a força do monolito moderno como uma escolha técnica eficiente, elegante e soberana.
Ruby 4.0.0 was released on December 25, 2025 and marked one of the most relevant updates to the language in recent years. The new version introduced Ruby Box, ZJIT, important performance improvements, advances in Ractor, and changes that directly affect developers building Ruby and Rails applications.