Ruby 3.1.1 Released
Posted by naruse on 18 Feb 2022
Ruby 3.1.1 has been released.
This is the first TEENY version release of the stable 3.1 series.
- error_highlight does not work for -e option
- Fix YJIT passing method arguments in the wrong order when keyword argument and default arguments are mixed. Breaks Rails collection caching
- Segmentation fault when missing Warning#warn method
- Fix Pathname dot directory globbing
- Fix default –jit-max-cache in ruby –help
- 3.1.0-dev
includecause Module to be marked as initialized - Tutorial Link for Optionparser is broken
- Yielding an element for Enumerator in another thread dumps core
- Segmentation fault with ruby 3.1.0 in
active_decorator - Segfault on use of Process.daemon in a Fiber
- 0 « (2**40) is NoMemoryError but 0 « (2**80) is 0
- IO read/write/wait hook bug fixes.
- Memory leak on aliasing method to itself
- error: use of undeclared identifier ‘MAP_ANONYMOUS’
- [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
- throw_data passed to rescue through require
- Fix
IpAddr#to_rangeon frozenIpAddrinstances. - Fixed path for ipaddr.rb
- Merge RubyGems-3.3.7 and Bundler-2.3.7
- Hang when repeating Hash#shift against a empty Hash
See the commit logs for further details.
Download
-
https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.1.tar.gz
SIZE: 20562492 SHA1: 289cbb9eae338bdaf99e376ac511236e39be83a3 SHA256: fe6e4782de97443978ddba8ba4be38d222aa24dc3e3f02a6a8e7701c0eeb619d SHA512: a60d69d35d6d4ad8926b324a6092f962510183d9759b096ba4ce9db2e254e0f436030c2a62741352efe72aec5ca2329b45edd85cca8ad3254a9c57e3d8f66319 -
https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.1.tar.xz
SIZE: 15103808 SHA1: af6afead0e5509c459a580fc260bec2608b46750 SHA256: 7aefaa6b78b076515d272ec59c4616707a54fc9f2391239737d5f10af7a16caa SHA512: 8877fa9a458964a59a11529cd10b3d25b5f6238cd4678b6dcea0bd4b750499cf8ff39d8824053b4ab26c5cd0cfb604a57807ce61580175857fcf00b2cff3e55f -
https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.1.zip
SIZE: 24843623 SHA1: 9afab3231e99835dbbdad93c96a240ce90a1f2f5 SHA256: de1cc26c18c6fb838b75f3e700621339cf09d557a15c0b1457720f7c441a1e68 SHA512: 0eac755cd9883659dbd9ab9b2c2e5608112030d96ad14c22e1f21712d870f97ba7dfbd74cc03b1892faacb37958f100df484e4944c90b4a834e27e4c03b8e895
Release Comment
Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions.
Recent News
Ruby 4.0.0 Released
We are pleased to announce the release of Ruby 4.0.0. Ruby 4.0 introduces “Ruby Box” and “ZJIT”, and adds many improvements.
Posted by naruse on 25 Dec 2025
A New Look for Ruby's Documentation
Following the ruby-lang.org redesign, we have more news to celebrate Ruby’s 30th anniversary: docs.ruby-lang.org has a completely new look with Aliki—RDoc’s new default theme.
Posted by Stan Lo on 23 Dec 2025
Redesign our Site Identity
We are excited to announce a comprehensive redesign of our site. The design for this update was created by Taeko Akatsuka.
Posted by Hiroshi SHIBATA on 22 Dec 2025
Ruby 4.0.0 preview3 Released
We are pleased to announce the release of Ruby 4.0.0-preview3. Ruby 4.0 introduces Ruby::Box and “ZJIT”, and adds many improvements.
Posted by naruse on 18 Dec 2025