3 Oct
2007
3 Oct
'07
4:56 a.m.
On Oct 2, 2007, at 21:21, Michael Jackson wrote:
I'm confused. The following lines from my terminal window say it all:
$ ruby -v ruby 1.8.2 (2004-12-25) [universal-darwin8.0] $ which ruby /opt/local/bin/ruby $ /opt/local/bin/ruby -v ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1]
I have Ruby installed correctly with MacPorts, I have my path set up correctly, but for some reason when I use:
$ ruby
it goes back to the original system version instead of the newly installed one! Any ideas?
Then your $PATH is not set up correctly, or else you have an alias definition somewhere. What does "echo $PATH" say? What does "alias | grep ruby" say?