|
Upgrading Ruby on Ubuntu (from package to source)Written By: Ben Wyrosdick January 23rd, 2008 |
We recently updgraded from ruby 1.8.4 to 1.8.6 on our production servers. When we did we went from the package manager versions of ruby to a source install, bedlam followed. Gems that required native extensions were no longer working properly and flames were pouring from the machines. So here is a list of actions to help anyone else wanting to upgrade on an Ubuntu machine.
October 26th, 2008 at 04:34 PM so how do you upgrade or uninstall your self-compiled ruby/gems?
June 3rd, 2009 at 07:55 AM These instructions worked moving from Ubuntu Jaunty's Ruby 1.8.7 to the compiled source for Ruby 1.9.1. I got some additional support from http://blog.fiveruns.com/2008/3/3/compiling-ruby-rubygems-and-rails-on-ubuntu. I didn't use the prefix=/usr parameter of the configure command, preferring to let it default to /usr/local since I installed it and Ubuntu did not, but that's pretty much a personal choice. Thanks for putting this together.