Wanting to play with Ruby 1.9.1, I uninstalled (via apt) all my Ruby
packages, downloaded the Ruby 1.9.1 source code and installed with
./configure, make, then make install. At this point, Ruby works fine,
as do the irb, ri, etc commands. Next up, install Rubygems 1.3.1.
Download the source code, extract, and run ruby setup.rb. During the
install, it overwrites /usr/local/bin/ruby, breaking the Ruby
Why is Rubygems writing over /usr/local/bin/ruby?
I’m running Ubuntu 8.10, and I’ve uninstalled all Ruby-related
packages prior to doing this.