Ruby 4.0.4 Released

Posted by k0kubun on 11 May 2026

Ruby 4.0.4 has been released.

This is a routine update that includes bugfixes. 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 regular release. Ruby 4.0.5 will be released in July, 4.0.6 in September, and 4.0.7 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.4.tar.gz

    SIZE: 23816838
    SHA1: 3633db75e6b4848b509ecccc64704d8f4467f068
    SHA256: f35f6edfa3dabb3f723f9d0cf1906c6512ae77f4e412ab1e68cc6e91d230fa80
    SHA512: b0cc9af75ee25628483a32ecd5ea6477d637ee3c75795f411bc4ebde7d86ab754fddf96385cfc5955b9dbd016418cbd7178c82dad7876b2b7119238f5159ed3a
    
  • https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.4.tar.xz

    SIZE: 17899740
    SHA1: 9e070a8a78e6faa35382360b47526042657b236d
    SHA256: 6ff9d2d6e75f5a6f997222ecc45f79209d663737eceb3689d1f42ab952673fb7
    SHA512: cccc041379fd4e46a736a5c10ccf81627766a7175113c34754797b915bebcd0ce821d9cd7b42cc616b0a1f9ee38eee5ab7560c1840fa6672819c293e498a3f6f
    
  • https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.4.zip

    SIZE: 29122429
    SHA1: 5edc7ce0adc2851a355673a5bb42b75efd4cf2b2
    SHA256: 508bc83baed022c20671d69dd264e6783d61b89767b5d387c0f8efea00b62219
    SHA512: b5db7ba616c56bdac9a61362d88d6350c8a8b59b5d812c1395476db73cb60fb403994e0bc3285aa2f57acbef3e30bcfce4bee4c5c8433b39d8f0a7c6dbb9bd29
    

Release Comment

Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions.

Recent News

Ruby 3.2.11 Released

Ruby 3.2.11 has been released. This release includes an update to the zlib gem addressing CVE-2026-27820.

Posted by hsbt on 27 Mar 2026

Ruby 3.3.11 Released

Ruby 3.3.11 has been released. This release includes an update to the zlib gem addressing CVE-2026-27820, along with some bug fixes.

Posted by hsbt on 26 Mar 2026

More News...