Ruby 2.1.0-preview2 is released
Posted by nurse on 22 Nov 2013
We are pleased to announce the release of Ruby 2.1.0-preview2. Please test the new features in Ruby 2.1 before the final release!
Notable changes from preview 1
- fix Heap Overflow in Floating Point Parsing (CVE-2013-4164)
- “literal”.freeze is now optimized #9042
- f suffix of String Literal is removed #9042
- fix memory consuming issue on RGenGC (r43532 and r43755)
- add Exception#cause #8257
- update libraries like json, nkf, rake, RubyGems, and RDoc.
Download
-
https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.bz2
SIZE: 11432454 bytes MD5: 9d566a9b2d2e7e35ad6125e2a14ce672 SHA256: 780fddf0e3c8a219057d578e83367ecfac5e945054b9f132b3b93ded4802d1ce -
https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.gz
SIZE: 14416029 bytes MD5: ba2b95d174e156b417a4d580a452eaf5 SHA256: a9b1dbc16090ddff8f6c6adbc1fd0473bcae8c69143cecabe65d55f95f6dbbfb -
https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.zip
SIZE: 16110720 bytes MD5: 2ad1aa3d89ae32607cf14fc73b192de1 SHA256: cc2f7f8e05daed716489e5480e6365a711a13ed7747dbc59e989a41fe2805076
Changes from 2.0
The notable changes are:
- VM (method cache)
- RGenGC (See ko1’s RubyKaigi presentation and RubyConf 2013 presentation)
- refinements #8481 #8571
- syntax changes
- Bignum
- String#scrub #8414
- Socket.getifaddrs #8368
- RDoc 4.1.0.preview.2 and RubyGems 2.2.0.preview.2
See more details of changes: NEWS in Ruby repository (WIP).
ko1 talked about the new features of Ruby 2.1 at toruby: All about Ruby 2.1
Konstantin Haase (@konstantinhaase) wrote a good summary in his blog post: What’s new in Ruby 2.1?.
Release Comment
Known issues are:
https://bugs.ruby-lang.org/projects/ruby-trunk/issues?query_id=102
See also the release schedule and other information:
https://bugs.ruby-lang.org/projects/ruby-master/wiki/ReleaseEngineering210
Recent News
Ruby 3.2.10 Released
Ruby 3.2.10 has been released.
Posted by hsbt on 14 Jan 2026
Ruby 4.0.1 Released
Ruby 4.0.1 has been released.
Posted by k0kubun on 13 Jan 2026
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