Ruby 2.2.1 released with memory leak on Symbol GC fixed

Ruby 2.2.1 which was recently released, is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. This latest release Ruby 2.2.1 is the first TEENY version release of the stable 2.2 series. This release includes the fix for ffi build failure and memory leak issue on Symbol GC.

rubyonrails-02

Ruby 2.2.1 changelog

  • enable smart chomp for all non-dummy encoding strings, not only default_rs
  • Prohibit incremental GC while running Ruby-level finalizers to avoid any danger
  • Prohibit GC while invoking T_DATA/T_FILE data structure because these operations break object relations consistency
  • time.c (time_zone_name): should be US-ASCII only if all 7-bits, otherwise locale encoding
  • time.c: Zone encoding should be US-ASCII if all 7-bits
  • Makefile.in (probes.stamp): rebuild dtrace dependent objects only when `dtrace -G` modifies its input files
  • See changelog for details

Install Ruby 2.2.1 on Ubuntu OS

sudo add-apt-repository ppa:brightbox/ruby-ng-experimental

sudo apt-get update

sudo apt-get install ruby2.2

Remove Ruby 2.2.1 from Ubuntu OS

sudo apt-get remove ruby2.2
 
comments powered by Disqus