From: Elliot Temple Date: 2006-07-16T04:46:58+09:00 Subject: Re: Mac OSX Ruby Configuration Question On Jul 15, 2006, at 12:05 PM, Steven R. wrote: > nobu@ruby-lang.org wrote: >> Hi, >> At Sat, 15 Jul 2006 08:40:06 +0900, >> Steven R. wrote in [ruby-talk:202047]: >>> Per my original post, my path already includes the path: >>> >>> Alpha:~ srummel$ echo $PATH >>> /usr/local/mysql/bin:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin >>> Alpha:~ srummel$ ruby -v >>> ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] >>> Alpha:~ srummel$ /usr/local/bin/ruby -v >>> ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0] >>> Alpha:~ srummel$ >>> >>> Is there some other issue involved? >> /usr/local/bin is after /usr/bin. The order is significant. > > > Thank you for your reply - I updated my .bash_profile and it worked > great. > > I am still trying to work out why changing .profile did nothing, > but changing .bash_profile worked. > > I suppose the important thing was, my system works now. > > Thanks to all for their time and assistance. I believe if you have a .bash_profile, then .profile isn't run unless you tell it to. here's what I have: cg5:~ >cat .bash_profile PS1="cg5:\w >" . ~/.profile cg5:~ >cat .profile export PATH="/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/ sbin:/usr/local/mysql/bin:/usr/games/:/Users/curi/me/bin:$PATH" export RUBYLIB="/Users/curi/me/rubylib" cg5:~ > -- Elliot Temple http://www.curi.us/blog/