Skip to content
This repository

Feb 22, 2014

  1. Misty De Meo

    Unset GEM_HOME and GEM_PATH before running brew.rb

    This was reported in Tigerbrew, but is a worthwhile fix everywhere.
    Fixes mistydemeo/tigerbrew#177.
    authored February 21, 2014

Feb 21, 2013

  1. Mike McQuaid

    brew: use a shell wrapper script for brew

    This reverts commit dfd4dd1.
    Fixes the problems from #17683 and #17685.
    authored February 08, 2013
  2. Mike McQuaid

    brew: move to Library/brew.rb

    This reverts commit ac156b3.
    authored February 05, 2013

Feb 18, 2013

  1. Mike McQuaid

    Rename Library/Contributions/cmds -> cmd.

    authored February 17, 2013
  2. Mike McQuaid

    Rework brew command dispatch order.

    Make it no longer possible to override e.g. `brew install` with a
    script if there is already a built-in Homebrew command named
    `brew install`.
    References #17673
    authored February 17, 2013

Feb 08, 2013

  1. Mike McQuaid

    Revert "brew: move to Library/brew.rb"

    This reverts commit 67d06b8.
    Closes #17683.
    Closes #17685.
    authored February 08, 2013
  2. Mike McQuaid

    Revert "brew: use a shell wrapper script for brew"

    This reverts commit 225546a.
    authored February 08, 2013
  3. Mike McQuaid

    brew: use a shell wrapper script for brew

    This allows us to force using the system Ruby on OSX but allow
    the development of Homebrew for Linux or Windows to not rely
    on OSX paths.
    Closes #17548.
    authored February 05, 2013
  4. Mike McQuaid

    brew: move to Library/brew.rb

    authored February 05, 2013

Dec 28, 2012

  1. Misty De Meo

    Replace sceaga/homebrew with mistydemeo/tigerbrew

    @sceaga has discontinued his homebrew fork, so tigerbrew is now PPC/
    Tiger users' best bet.
    authored December 27, 2012

Aug 31, 2012

  1. Max Howell

    `brew -c1` one line configuration summary

    At your option: `brew --config -1`.
    authored August 31, 2012

Aug 29, 2012

  1. Max Howell

    If exception has no message raise again

    Shows full backtrace, which is useful. Now blank "raise" statements are the equivalent of admitting programmer error. The backtrace will be useful.
    authored August 28, 2012
  2. Max Howell

    Make `brew --prefix` very fast

    Because people use this in .bash_profile etc. We should be as fast as possible.
    authored August 28, 2012
  3. Max Howell

    Much better CTRL-C handling

    Let's not show weird error messages when user interrupts during various stages of brew initialization.
    Tested by doing `for x in $(brew search); do brew install $x; done` and pressing CTRL-C at random short intervals.
    authored August 22, 2012

Aug 23, 2012

  1. Misty De Meo

    brew: downcase arg before sending to Homebrew

    Fixes a case where brew would find commands with wrongly-capitalized
    user input on case-insensitive systems, then error out with a confusing
    message when an invalid method was sent to Homebrew. e.g.:
    > brew Update
    Error: undefined method `Update' for Homebrew:Module
    authored August 22, 2012

Aug 06, 2012

  1. Max Howell

    Don't output Ruby warnings

    We don't want bug reports about this crap, even though the user REALLY should listen to the warning message. What actually happens is they blame us instead.
    This kind of warning in particular:
    warning: Insecure world writable dir /usr/local/bin in PATH
    authored August 06, 2012

Jul 23, 2012

  1. Adam Vandenberg

    Make --version/--verbose slightly less confusing.

    authored July 23, 2012

Jun 01, 2012

  1. Misty De Meo

    Replace /usr/bin/ruby with full Framework path

    Rationale: some users insist on replacing the /usr/bin/ruby symlink
    to point to another ruby on their system, which may break homebrew.
    Use the full Framework path instead, which is less likely to be tampered with.
    This also reorganizes the brew --config checks to reflect the different path.
    Fixes #12009.
    Closes #12333.
    Signed-off-by: Misty De Meo <>

May 08, 2012

  1. Jack Nagel

    Unify 'which' and which_s' utility methods

    'which' only returns a Pathname or nil, and doesn't care about anything
    sent to stderr, so just silence it by default and combine the two
    Closes #12115.
    Signed-off-by: Jack Nagel <>
    authored May 07, 2012

Mar 29, 2012

  1. Mike McQuaid

    Exit with bad exit code on command failures.

    authored March 15, 2012

Mar 18, 2012

  1. Mike McQuaid

    Set MACOS_VERSION as 0 on non-OSX platforms.

    authored March 16, 2012
  2. Mike McQuaid

    Rename external commands directory from examples.

    Fixes #10829.
    authored March 18, 2012

Mar 07, 2012

  1. Adam Vandenberg

    Remove 'is this a git command?'

    authored March 07, 2012
  2. Max Howell

    Move brew output for BuildError into BuildError

    So upgrade can output errors but continue to upgrade the rest of the installation.
    authored March 07, 2012

Mar 02, 2012

  1. Max Howell

    Scupper sourceable output if brew install is piped

    `brew install > file` should not give "export CC=/foo" output on Build Failures.
    Also moved the "Using clang" output to brew when BuildError is thrown as that is where it is interesting, and not if you just do `brew --env`.
    authored March 02, 2012

Nov 13, 2011

  1. Charlie Sharpsteen

    metadata: Record installation options

    Adds a new class called `Tab` that acts as a recipt for install options. A
    `Tab` can be serialized to a JSON file for future reference.
    authored September 22, 2011

Oct 28, 2011

  1. Dougal Sutherland

    brew command: exit with nonzero status for unknown command name

    Signed-off-by: Adam Vandenberg <>
    authored October 16, 2011 adamv committed October 27, 2011

Aug 31, 2011

  1. Max Howell

    Save config.log to ~/Library/Logs/Homebrew

    Also tidied error output. Still could be tidied quite a lot but I am still considering how best to go about it.
    authored August 31, 2011

Aug 17, 2011

  1. Max Howell

    Only error out for `sudo brew install`

    Note this only happens if Homebrew is *not* installed sudo. Which is most of the time true.
    Fixes #6899
    authored August 17, 2011

Aug 02, 2011

  1. Max Howell

    Rephrase comment so it makes sense

    authored August 02, 2011

Jul 30, 2011

  1. Max Howell

    If brew is installed non-root refuse to `sudo brew`

    Rationale: people break their installs by mixing sudo and non-sudo usage. They are used to having to `sudo port install` and shit like that, so I understand why the mixing happens.
    authored July 29, 2011

Mar 21, 2011

  1. Benoit Daloze

    use Module#const_get instead of eval

    * may be a problem if the constant is scoped (like A::B), but this is not the case
      (const.split('::').inject(Object) { |c, part| c.const_get part } would solve that)
    * this was noticed in a comment of 9afc85a but it has disappeared
    Signed-off-by: Adam Vandenberg <>
    authored March 20, 2011 adamv committed March 20, 2011

Mar 13, 2011

  1. Max Howell

    `brew` by itself prints help but exits with non-zero

    authored March 13, 2011
  2. Max Howell

    Move the Dir.getwd after help

    Because we should always be able to help. And I've checked, it works fine.
    authored March 13, 2011
  3. Max Howell

    brew environment alias to --env; like `gem`

    authored March 13, 2011
Something went wrong with that request. Please try again.