Sunday, June 29, 2014

Upgrading from ruby 2.1.1 to 2.1.2 on OSX

Follow instructions in post Upgrading to ruby 2.1.1 on OSX

Commands to upgrade ruby via rbenv

$ (RUBY_CONFIGURE_OPTS=--with-readline-dir="/usr/lib/libreadline.dylib" rbenv install 2.1.2)
$ rbenv global 2.1.2
$ rbenv rehash
$ gem install bundler
$ rbenv rehash


rbenv rehash should be run after every gem install. You can install the rbenv-gem-rehash plugin to avoid having to do this step all the time.


$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]

Side Effects

This upgrade resolves the bigdecimal segmentation fault: ruby/2.1.0/bigdecimal/util.rb:39: [BUG] Segmentation fault


This work is licensed under the Creative Commons Attribution 3.0 Unported License.

No comments:

Post a Comment