Homebrew PATH error Mac OS X 10.6.8
Look in your home directory ('cd ~' to get there, 'ls -a' to look) for a .bash_profile or .bashrc file.
If you find one of them, open it up and you should see a line like this:
export PATH=/usr/bin:/usr/local/bin:/opt/local/sbin:$PATH
Cut the "/usr/bin:" and paste it after the "/usr/local/bin:"
If you don't find either of those files, create one called .bash_profile and put this line inside:
export PATH=/usr/local/bin:$PATH