Upgrade Ruby Enterprise Edition
Posted: February 21st, 2011 | Author: Robert Shedd | Filed under: posts | Tags: ruby, ruby on rails | No Comments »A security update for Ruby has been released to respond to multiple vulnerabilities. All versions of the interpreter are affected, including the Ruby Enterprise Edition interpreters.
Fortunately, it’s easy to upgrade with RVM:
Tell RVM to upgrade your specific REE installation to the latest:
rvm update #upgrade RVM rvm upgrade ree-1.8.7-2011.02 ree-1.8.7-2010.02 #upgrade REE
Accept Y to all options to move elements of your current install.
Then reset REE to be your default:
rvm ree-1.8.7-2011.02 rvm --default ree-1.8.7-2011.02
Following this, confirm that the new install of Ruby is active for your shell session (which ruby). Then, you will likely need to install bundler again to make sure you have 1.0.10 for the upgraded copy of gem 1.5. Also, run bundle install from the app root to make sure your gemset is up to spec.
Despite telling the upgrade process to move everything, I still needed to reinstall Passenger (3.0.2) and reconfigure it for Apache:
gem install passenger passenger-install-apache2-module
With this reinstallation, you’ll also need to edit your Apache config file (on Mac OS X: /etc/apache2/httpd.conf ) to point to the new Passenger gem.
Restart Apache from System Preferences > Sharing > Web Sharing and you should be good to go.

Hi! I'm Rob, a technology entrepreneur living in Dublin, Ireland, originally from Philadelphia. I co-founded BetDash.com which was acquired by Paddy Power.




























