From: Tim Hunter Date: 2007-06-10T21:18:44+09:00 Subject: Re: how to update version iskaldur wrote: > Hi, I'm running Mac OS X and I'm trying to update my version of Ruby. I > downloaded 1.8.6 and installed, but typing "ruby -v" at the terminal > still shows 1.8.2. How do I fix this? > > Make sure you have the directory in which you installed Ruby in your PATH preceding /usr/bin. If you took the defaults during installation, that would be /usr/local/bin, so in your .profile file your PATH statement would look something like this: export PATH=/usr/local/bin:$PATH You can find out which directory OS X is getting Ruby from by typing which ruby in Terminal.app. If you don't understand PATH and .profile, you can read about them by starting Terminal.app and typing "man bash". (I'm assuming you're using bash as your shell. New releases of OS X use bash by default.) -- RMagick OS X Installer [http://rubyforge.org/projects/rmagick/] RMagick Hints & Tips [http://rubyforge.org/forum/forum.php?forum_id=1618] RMagick Installation FAQ [http://rmagick.rubyforge.org/install-faq.html]