brew doctor fail on 10.6.8 (undefined method 'keg_only') #16053

Closed
gordol opened this Issue Nov 14, 2012 · 10 comments

Projects

None yet

6 participants

@zendy

I have the same problem. I can do brew doctor early on today, but just now I did brew update and then I have the same error message when I tried to run brew doctor

@jimhart3000

Same problem here as well. My config is virtually identical to the one posted by Diwoka at the gist above.

@akrawchyk

+1 for 10.8.2

@cburyta

+1 10.8.2 (osx) with 0.9.3 (brew)

@jacknagel

Where does "ComposerRequirement" come from?

Error: undefined method `keg_only?' for #<ComposerRequirement:0x101209d18 @tags=["composer-requirement"]>
@jacknagel

This is a problem with brew tap, files in the requirements directory of homebrew-php are getting symlinked into Library/Formula and Formula.factory is trying to load them as formulae.

@cburyta

I did just update/upgrade php54 / composer before getting this error, and removing any of the *-requirement files from /usr/local/Library/Formula got me back brewing for now.

@zendy

I did brew update just now. And it seems brew doctor back to normal.

@jacknagel

Rolling this into #16121.

@jacknagel jacknagel closed this Nov 17, 2012
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.