Ruby 4.0.2 Released
Ruby 4.0.2 has been released. This is a routine update that includes a bugfix in YJIT for NoMethodError on Puma . Please see the GitHub Releases for further details. Release Schedule We intend to release the latest stable Ruby version (currently Ruby 4.0) every two months following the most recent release. Ruby 4.0.3 will be released in May, 4.0.4 in July, 4.0.5 in September, and 4.0.6 in November. If a change arises that significantly affects users, a release may occur earlier than planned, and the subsequent schedule may shift accordingly. Download https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.2.tar.gz SIZE: 23824654 SHA1: 47c3627e2bdfe53dda77d3fa1730e44ef1ed7dfe SHA256: 51502b26b50b68df4963336ca41e368cde92c928faf91654de4c4c1791f82aac SHA512: 16a6ca0e9407051f58c8e3c4ec2058c52d62a9863174a3eb6dd5e9e2e893a66427e97a6e7fc8b4c3480163bd19a7a0ec4c00e481f90ff42e8f30bdbc9555f628 https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.2.tar.xz SIZE: 17874724 SHA1: d927e26d22b15c6737df24cdf6ae80542a057240 SHA256: 4618db85bb9ec04d8152d0099db488694a3d3c4f52106625e4ad547f1318db87 SHA512: be71a5452068dfc3c86b8ec07456b3fdf6dc64e8c0cd16c358fc4ed8ac08707a9c28285ea8a79dbef82031d8c93c71032a82a0b45f3c9ac5325bf3b70d06fbf2 https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.2.zip SIZE: 29123568 SHA1: 3cfd813761009f8fbb6001cf14149dc03bcd85d7 SHA256: 7cdbef9028a64f73ca59e21cd46c73c794df9c8294f1cb5c50c4d93c6060b240 SHA512: ecac80a6861fd666fc024701233f5b5b93bed9ed9047cd7ca9e11799681b0102729cc53203cee4ac33245a41b786a4a4c802633d1031881200378b011ed74580 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by k0kubun on 16 Mar 2026

Ruby 4.0.2 has been released, marking a routine update to the Ruby programming language. This version focuses on addressing a specific bug in the YJIT (Just-In-Time) compiler related to NoMethodError on the Puma web server. The Ruby development team has been diligent in maintaining a consistent release schedule, with the aim of providing updates every two months.
The release of Ruby 4.0.2 follows the previous version, 4.0.1, and is part of the Ruby 4.0 series. The team plans to continue releasing updates under this series, with Ruby 4.0.3 scheduled for May, 4.0.4 for July, 4.0.5 for September, and 4.0.6 for November. However, if a significant change or critical issue arises, the release schedule may be adjusted to accommodate the need for an earlier release, with subsequent updates shifting accordingly.
The Ruby 4.0.2 release includes several improvements and fixes, primarily targeting the YJIT bug that could cause NoMethodError issues when using Puma. This bugfix is crucial for developers relying on Puma, as it ensures the stability and reliability of their applications. The Ruby team has worked closely with committers, developers, and users who reported the issue, highlighting the collaborative nature of the open-source community.
In addition to the bugfix, the release also includes other minor enhancements and optimizations. The Ruby development team has been committed to maintaining a stable and performant language, and this update reflects their ongoing efforts to improve the Ruby ecosystem.
Ruby 4.0.2 is available for download from the official Ruby website. Users can choose from three different file formats: a tarball (.tar.gz), a xz-compressed tarball (.tar.xz), and a zip archive (.zip). Each file comes with a unique SHA1, SHA256, and SHA512 checksum for verification purposes, ensuring the integrity of the download.
The release comment acknowledges the contributions of many individuals who helped shape this release. The Ruby community thrives on collaboration, with developers, users, and committers working together to build a better programming language. This update is a testament to the collective effort of the Ruby community, and the team expresses gratitude for everyone's involvement.
In conclusion, Ruby 4.0.2 is a significant update for developers using the Ruby language, particularly those relying on the Puma web server. The bugfix in YJIT addresses a critical issue, ensuring the stability of applications. With a planned release schedule every two months, the Ruby team is committed to providing regular updates and improvements. As always, the Ruby community's collaborative spirit drives the development of the language, making it a robust and reliable choice for developers worldwide.










