Ruby 2.2.0-preview1 Released

Posted by naruse on 18 Sep 2014

We are pleased to announce the release of Ruby 2.2.0-preview1.

Ruby 2.2.0-preview1 is the first preview of Ruby 2.2.0. Many new features and improvements are included for the increasingly diverse and expanding demands for Ruby.

For example, Symbol GC makes Symbols garbage collectable. This reduces memory usage of Symbols; because GC couldn’t collect Symbols before Ruby 2.2. So Rails 5.0 will require Symbol GC. It will support only Ruby 2.2 or later. (See Rails’ blog post for details.)

Also, new Incremental GC decreases pause time of garbage collection. It is helpful for running Rails applications.

Enjoy programming with Ruby 2.2.0-preview1!

Notable Changes since 2.1

  • Incremental GC
  • Symbol GC
  • core libraries:
    • Support Unicode 7.0 #9092
    • New methods:
      • Enumerable#slice_after
      • Float#next_float, Float#prev_float
      • File.birthtime, File#birthtime
  • bundled libraries:
    • Update Psych 2.0.6
    • Update Rake 10.3.2+ (e47d0239)
    • Update RDoc 4.2.0.alpha (21b241a)
    • Update RubyGems 2.4.1+ (713ab65)
    • Update test-unit 3.0.1 (removed from repository but bundled in tarball)
    • Update minitest 5.4.1 (removed from repository but bundled in tarball)
    • Deprecate mathn
  • C API
    • Remove deprecated APIs

See NEWS in Ruby repository (WIP) for details.

With those changes, 1239 files changed, 98343 insertions(+), 61858 deletions(-).

Download

  • https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0-preview1.tar.bz2
    • SIZE: 12385780 bytes
    • MD5: 767b132eec3e70b14afe5884a7a767b1
    • SHA256: a3614c389de06b1636d8b919f2cd07e85311486bda2cb226a5549657a3610af5
    • SHA512: 2f1190f5d8cd1fa9962d1ff416dae97759d032a96801d77bc6b10136eba59dde1a554ff8c0c2d9ce0d3c1361d4dd12ad573b1266fd53b90ab238d8ce39e6b862
  • https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0-preview1.tar.gz
    • SIZE: 15419211 bytes
    • MD5: f78fc9ec907fe622822abf3aa839c1b4
    • SHA256: 7a49493d148a38eff9ab13e88601686985cadf2de86276ae796f5443deab3abb
    • SHA512: 34381eee1d31cc1dad87e6d57ba71153c4db034b697cf7f0010fa432bb037e8eef5a90936a658f8f07b9b1eaa18f0b5c02ea113c78f39061514724373622a3b5
  • https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0-preview1.tar.xz
    • SIZE: 9617132 bytes
    • MD5: 96cde140b3211780d58b36af023143d5
    • SHA256: 7ed01a518b8c4d65bfb887cf6e0809977c88abeb5bb70c9fe8df754966820411
    • SHA512: 1241fd9a6e583544576177f372e245845b9df1427104b595963e37d7348a7d1c5558c6f6bf6ca5f1856d0d4a8f4a54a8948d4b6d78fb7943d6c7458691f34f6d
  • https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0-preview1.zip
    • SIZE: 17161678 bytes
    • MD5: df34e9d6a447b21a4e7fa261d51bb881
    • SHA256: 2fa6c0cbddd1566a8658e16a34b6ae2f9eda2a8eeee4113561b3948d066f44a0
    • SHA512: 615b35c0a0bc408b28af9d9220ccd1658c718c7657ae7ad3f8318d38850bec760b1738c43454986b105857a7ffc2fea95294b964e5ea26a915d6fd9d510351b7

Release Comment

See also the release schedule and other information:

ReleaseEngineering22

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

More News...