From: Bill Kelly Date: 2008-10-12T16:54:34+09:00 Subject: Re: Updating Ruby 1.8.6 to 1.8.6-p287 in Debian 4 From: "The Neurochild" > > I have a Debian 4 machine with Ruby 1.8.6 (installed from source) and > some gems including Rails 2.1 and Phusion Passenger 2.0.3 (mod_rails, > which needs fastthread and rack gems). I want to update to the latest > patch of that version (1.8.6-p287), but I have my concerns. Can I do > it safely? Is there any warning, any catch? Will I have to reinstall > RubyGems and every single gem? What's your advice before patching? > Will all the dependent apps be screwed up? I'm asking this because, > unfortunately, there's no "make uninstall" command after installing > Ruby from source... Really! I tried, but failed miserably. The only > choice I see is to erase the folder where it's located, I doubt > installing the patch overwrites all the files. Hi, On Debian, I always build ruby from source, but I install it in /opt . This avoids any conflict with apt/dpkg. E.g. ./configure --prefix=/opt --enable-shared Since you are updating from 1.8.6 to a later version of 1.8.6, you can probably keep your gems. Regards, Bill