Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 31, 2012
  1. @mxcl

    `brew -c1` one line configuration summary

    mxcl authored
    At your option: `brew --config -1`.
Commits on Aug 29, 2012
  1. @mxcl

    If exception has no message raise again

    mxcl authored
    Shows full backtrace, which is useful. Now blank "raise" statements are the equivalent of admitting programmer error. The backtrace will be useful.
  2. @mxcl

    Make `brew --prefix` very fast

    mxcl authored
    Because people use this in .bash_profile etc. We should be as fast as possible.
  3. @mxcl

    Much better CTRL-C handling

    mxcl authored
    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.
Commits on Aug 23, 2012
  1. @mistydemeo

    brew: downcase arg before sending to Homebrew

    mistydemeo authored
    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
Commits on Aug 6, 2012
  1. @mxcl

    Don't output Ruby warnings

    mxcl authored
    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
Commits on Jul 23, 2012
  1. @adamv
Commits on Jun 1, 2012
  1. @mistydemeo

    Replace /usr/bin/ruby with full Framework path

    mistydemeo authored
    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 <>
Commits on May 8, 2012
  1. @jacknagel

    Unify 'which' and which_s' utility methods

    jacknagel authored
    '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 <>
Commits on Mar 29, 2012
  1. @mikemcquaid
Commits on Mar 18, 2012
  1. @mikemcquaid
  2. @mikemcquaid
Commits on Mar 7, 2012
  1. @adamv

    Remove 'is this a git command?'

    adamv authored
  2. @mxcl

    Move brew output for BuildError into BuildError

    mxcl authored
    So upgrade can output errors but continue to upgrade the rest of the installation.
Commits on Mar 2, 2012
  1. @mxcl

    Scupper sourceable output if brew install is piped

    mxcl authored
    `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`.
Commits on Nov 13, 2011
  1. @Sharpie

    metadata: Record installation options

    Sharpie authored
    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.
Commits on Oct 28, 2011
  1. @dougalsutherland @adamv

    brew command: exit with nonzero status for unknown command name

    dougalsutherland authored adamv committed
    Signed-off-by: Adam Vandenberg <>
Commits on Aug 31, 2011
  1. @mxcl

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

    mxcl authored
    Also tidied error output. Still could be tidied quite a lot but I am still considering how best to go about it.
Commits on Aug 17, 2011
  1. @mxcl

    Only error out for `sudo brew install`

    mxcl authored
    Note this only happens if Homebrew is *not* installed sudo. Which is most of the time true.
    Fixes #6899
Commits on Aug 2, 2011
  1. @mxcl
Commits on Jul 30, 2011
  1. @mxcl

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

    mxcl authored
    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.
Commits on Mar 21, 2011
  1. @eregon @adamv

    use Module#const_get instead of eval

    eregon authored adamv committed
    * 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 <>
Commits on Mar 13, 2011
  1. @mxcl
  2. @mxcl

    Move the Dir.getwd after help

    mxcl authored
    Because we should always be able to help. And I've checked, it works fine.
  3. @mxcl
Commits on Mar 12, 2011
  1. @adamv

    Support the `brew instal` typo

    Max Howell authored adamv committed
    Because `gem instal` works too.
  2. @mxcl @adamv

    Some Cleanup

    mxcl authored adamv committed
  3. @mxcl @adamv

    Refactor the brew command into one file per command

    mxcl authored adamv committed
    The code was sucking. To the extent that maintenance was hard. It's a lot
    easier to work with code that is sensibly split at sensible boundaries. So
    now it is more like that.
    But the refactor is minimal. Because we don't want you to have more merge
    hell than absolutely necessary.
    If you merge you will need to pay attention to brew.h.rb (as it is deleted)
    and bin/brew (as command logic is gone). It will be painful, but you will just
    have to help git out by moving any changes around manually.
    Note compatibility.rb. It ensures that any function renames or removals don't
    break anything. We're pretty serious about backwards compatibility. And that's
    because we encourage you to hack around with the innards. And we couldn't do
    that if we would then just make stuff disappear behind your back.
Commits on Oct 30, 2010
  1. @jamie @adamv

    fix warnings: ambiguous splat

    jamie authored adamv committed
    Signed-off-by: Adam Vandenberg <>
  2. @jamie @adamv

    fix warnings: splat is redundant for puts

    jamie authored adamv committed
    Signed-off-by: Adam Vandenberg <>
  3. @mdippery @adamv

    `brew log` should show complete Git log if no formulae are specified

    mdippery authored adamv committed
    Signed-off-by: Adam Vandenberg <>
Commits on Oct 25, 2010
  1. @adamv
Commits on Oct 18, 2010
  1. @adamv

    Add remove --force

    adamv authored
  2. @adamv
Commits on Oct 7, 2010
  1. @kballard @adamv

    Consider outdated kegs in brew uses --installed

    kballard authored adamv committed
    Signed-off-by: Adam Vandenberg <>
Something went wrong with that request. Please try again.