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
Notes
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.Results
$ 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 faultReferences
https://bugs.ruby-lang.org/issues/9657This work is licensed under the Creative Commons Attribution 3.0 Unported License.
No comments:
Post a Comment