Trying to set up Homebrew on a new Mac (on previous Macs I would install packages from source).
The first package I tried to install was Git:
$ brew install git
Installation went OK, but
which git still shows the one in
/usr/bin/git that came along with Lion (I think?). And not the one in
/usr/local/bin/git that was just installed.
$ echo $PATH /Users/meltemi/.rvm/gems/ruby-1.9.2-p290@rails31/bin:/Users/meltemi/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/meltemi/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/michael/.rvm/bin:/usr/local/mysql/bin:/opt/subversion/bin:/Developer/Additions/checker/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
As you can see
/usr/bin defaults to before
/usr/local/bin in the
So, I'm confused! I thought the point of HomeBrew (and something the creators seem to brag about) was that you don't have to mess with the
So, what did I do wrong?