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 that focuses on addressing a critical bug in the YJIT (Just-In-Time) compiler related to NoMethodError on the Puma web server. This update is part of the Ruby development team's ongoing efforts to maintain the stability and reliability of the language, ensuring that users can rely on it for their projects.
The release of Ruby 4.0.2 is a testament to the collaborative nature of the Ruby community. Many committers, developers, and users who reported bugs played a crucial role in identifying and resolving the issues that led to this update. The Ruby team appreciates their contributions and is committed to fostering an environment where users can easily report problems and see them addressed in a timely manner.
In addition to the bugfix, Ruby 4.0.2 does not introduce any new features. The primary focus of this release is to ensure that the existing functionality remains stable and reliable. The Ruby development team has set a release schedule for the 4.0 series, with plans to release a new version every two months. Following the release of Ruby 4.0.2, the next updates are scheduled as follows:
- Ruby 4.0.3: May 2026
- Ruby 4.0.4: July 2026
- Ruby 4.0.5: September 2026
- Ruby 4.0.6: November 2026
However, this schedule is not rigid. If a significant change or critical bugfix arises that affects users, the team may release an update earlier than planned. Such changes could also cause subsequent releases to be delayed or rescheduled to accommodate the necessary adjustments.
Ruby 4.0.2 is available for download from the official Ruby website. Users can choose from three different file formats:
1. `ruby-4.0.2.tar.gz`: A gzipped tar archive.
2. `ruby-4.0.2.tar.xz`: A xz-compressed tar archive.
3. `ruby-4.0.2.zip`: A zip archive.
Each file includes the complete source code for Ruby 4.0.2. The team has also provided SHA-1, SHA-256, and SHA-512 checksums for each file to ensure the integrity of the downloads. Users can verify the checksums to confirm that the files have not been tampered with during transmission.
The Ruby development team remains dedicated to providing regular updates and improvements to the language. By following a structured release schedule and maintaining open communication with the community, they aim to ensure that Ruby remains a popular and reliable choice for developers worldwide.
In conclusion, the release of Ruby 4.0.2 is a significant step towards maintaining the stability and reliability of the Ruby ecosystem. While this update does not introduce new features, it addresses a critical bug that could impact users relying on the Puma web server. The Ruby team's commitment to regular updates and their collaborative approach to development are key factors in the language's ongoing success. As the team continues to work on future releases, users can expect further improvements and enhancements to the Ruby language in the coming months.










