I've spent the bulk of my Friday trying to get the latest version of Ruby installed on my new MacBook Air (w/ Mountain Lion installed).
I have all the latest versions of XCode and command line tools. But I can't seem to get Homebrew to work! Here's a screenshot of where I keep getting stuck (I'm a new user, so can't embed this image).
As you can see I used the following to instal Homebrew:
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go/install)"
Warning: /usr/local/bin is not in your PATH.
==> Installation successful!
-bash: brew: command not found
The warning is telling you what is wrong. The problem is that
brew is kept in
So, you can try
To fix it permanently alter your bash profile (.bashrc or .profile in your home directory) and add the following line: