When an "install -d formula" fails, and the user gets dropped into an interactive shell, set the HOMEBREW_DEBUG_INSTALL env var to the name for the formula that failed. Also set variable if the user requests an interactive install in the first place. Note that this may be different than the formula being installed, since it may have been a dep that failed. Also remove todo in utils; users can now look for HOMEBREW_DEBUG_INSTALL in their prompt command, and adjust their prompts accordingly.
Homebrew
Features and usage are summarized on the homepage.
Quick Install to /usr/local
The script will prompt for confirmation before it does anything:
curl http://gist.github.com/raw/323731/install_homebrew.rb | ruby
Afterwards, install Xcode.
Umm… I thought I could install it anywhere?
Indeed, you can. Refer to our complete installation instructions.
Dude! Just give me a two-liner!
Alright then… as long as you know what you are doing:
sudo chown -R $USER /usr/local
curl -Lsf http://github.com/mxcl/homebrew/tarball/master | tar xvz -C/usr/local --strip 1
More Documentation
The wiki is your friend.
Who Are You?
I'm Max Howell and I'm a splendid chap.
4.6.25
Latest
Languages
Ruby
92%
Shell
5.2%
Roff
2.1%
HTML
0.5%