So, I have a problem with the path on OS X Leopard. OS X seems to add other paths that I don't declare, and it is messing around with my path priority. I only have a .bash_login file, I don't have a .bashrc or .profile file. My .bash_login file is as follows:
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
When I start the export, this is the path that it returns:
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin"
Any ideas on what / usr / bin can put, and how I could get /usr/local/bin for a higher priority.
I tag this for Rails too, because that's what I'm working on right now ... it seems that the built-in Ruby, Rails, and Gems Macs take precedence over the one I installed in /usr/local/bin , maybe you Rubist comrades could help too.
ruby-on-rails sysadmin macos
Tim knight
source share