Homebrewのエラー2

また、Homebrewでbrew doctorしたときに出たエラーとその解決法。


Warning: You have Xcode-4.2.1, which is outdated.
Please install Xcode 4.3. <<<<<<< updated>>>>>>>>>>>
_
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

git
git-cvsserver
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
gitk
rails
rake
sqlite3
svn
svnadmin
svndumpfilter
svnlook
svnserve
svnsync
svnversion

Consider ammending your PATH so that /usr/local/bin
is ahead of /usr/bin in your PATH.

$vi ~/.bashrc


パスがおかしいから修正しろとのことです。



export PATH=/usr/local/bin:/usr/local/sbin:~/bin:$PATH

source ~/.basrc