Ruby 2.1.0-preview1 is released

We are pleased to announce the release of Ruby 2.1.0-preview1. Please check out the new features in Ruby 2.1 before the final release!

Download

We recommend to use https://cache.ruby-lang.org/pub/ruby/2.1/ via Fastly.

Changes

The notable changes are:

  • VM (method cache)
  • RGenGC (See ko1’s RubyKaigi presentation and EuRuKo presentation)
  • refinements
  • syntax
    • Decimal Literal
    • Frozen String Literal
  • def’s return value
  • Bignum
    • 128bit
    • GMP
  • String#scrub
  • Socket.getifaddrs
  • new RubyGems

See more details of changes: NEWS in Ruby repository (WIP).

ko1 exhibited toruby presentation: Summary of 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