Daniel Harple
3/6/2006 3:01:00 AM
On Mar 6, 2006, at 3:44 AM, superN00b wrote:
> I installed Ruby 1.8 using Terminal on Mac OSX (Thank God for Visual
> Quickstart Guides). But when I check the version with "ruby -v", it
> still says that it's running version 1.6.2 or whatever. So I went
> looking for it and sure enough, the new version didn't overwrite
> the old
> one - it just set tself up next to it. So the shell just keeps on
> using
> the old one.
I think by default ruby will be installed in /usr/local. The Apple
supplied Ruby is in /usr, and you should not remove it, or overwrite
it. Try setting your PATH variable to include /usr/local/bin first:
Bash:
export PATH=/usr/local/bin:$PATH
But for the long-term, you really should consider using DarwinPorts.
It takes the pain out of installing software from source.
-- Daniel