Ruby install not being found properly?

Michael Jackson mjijackson at gmail.com
Tue Oct 2 19:21:26 PDT 2007


Hello all,

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?

Thanks,

Michael



More information about the macports-users mailing list