From: Richard Lawrence Date: 2007-06-26T01:30:10+09:00 Subject: Re: OS X reads builtin version of ruby Do you have a non-native Python installed? When I followed the HiveLogic directions for installing Ruby (found here: http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx), I found that OS X would find the correct version of Ruby until I quit Terminal and re-opened it. The problem, it turned out, was Python: the line Python installs in ~/.bash_profile seemed to be overriding the PATH setting in ~/.bash_login that the HiveLogic article advised. My solution was to move the Python line from .bash_profile, and include it in .bash_login. I then deleted .bash_profile (or rather, moved it to .bash_profile.bad.) My .bash_login now looks like this: ------------- export PATH="/usr/local/bin:/usr/local/sbin:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/local/mysql/bin:${PATH}" export RUBYOPT="-rubygems" ------------- which seems to work like a charm. I'm not all that knowledgeable about this stuff, though, so you may better off editing .bashrc, as Herbie advised. Herbie Fitzgerald wrote: >> You need to update your PATH in ~/.bashrc. profile/bash_profile are run >> for >> login shells. Starting a terminal isn't neessarily going to run a login >> shell. >