On Mar 10, 11:56=A0am, Robert Klemme <shortcut... / googlemail.com> wrote:
> 2010/3/10 G Brandon Hoyt <qrpra... / gmail.com>:
>
> > The reason why built-from-source ruby lives in /usr/local is because
> > Ubuntu 'owns' the files in /usr/bin and /usr/lib. =A0When Ubuntu update=
s
> > packages, these packages change. =A0You 'own' the files in /usr/local/*=
,
> > so you are responsible for making sure they stay up to date, Ubuntu doe=
s
> > not change them. =A0The downside is that if you are building ruby from
> > source, you can't use the packages for ruby in Ubuntu. =A0That's ok, mo=
st
> > of what you need comes automatically when you build the code from sourc=
e.
>
> I couldn't agree more! =A0It is a very bad idea to try to install over
> those versions provided by the package manager. =A0This is definitively
> calling for trouble. =A0It's easier to stick with the installation in
> /usr/local and adjust either shebang in scripts or create a few
> symlinks in /usr - although I would be cautious with that already.
>
> Alternative: get a package from another source, e.g. 1.9.1.378-1:http://p=
ackages.debian.org/squeeze/ruby1.9.1http://packages.debian.org/sid/ruby1.9.=
1
>
> or live with a tad older version 1.9.1.243-2:http://packages.ubuntu.com/d=
e/karmic/ruby1.9.1-full
>
> Kind regards
>
> robert
>
> --
> remember.guy do |as, often| as.you_can - without endhttp://blog.rubybestp=
ractices.com/

Or just use Ruby Version Manager -- RVM

http://rvm.beginrescueend.com/
http://rvm.beginrescueend.com/rvm/install/