Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew which-formula doesn't work #57

Closed
andreiborisov opened this issue Jan 18, 2020 · 2 comments
Closed

brew which-formula doesn't work #57

andreiborisov opened this issue Jan 18, 2020 · 2 comments
Assignees
Labels

Comments

@andreiborisov
Copy link

For some reason brew which-formula doesn't work for me.

brew which-formula when returns:

Error: private method `flag?' called for ["when"]:Array
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-command-not-found/cmd/brew-which-formula.rb:74:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/Homebrew/Library/Homebrew/utils.rb:82:in `require?'
/usr/local/Homebrew/Library/Homebrew/brew.rb:108:in `<main>'

I'm using:

macOS Catalina 10.15.2 19C57
Homebrew 2.2.3-11-gdfe028a
@bfontaine
Copy link
Contributor

This appears to be due to Homebrew/brew@d50a8c4

@bfontaine bfontaine self-assigned this Jan 18, 2020
@bfontaine
Copy link
Contributor

Fixed in 0b5e783; thanks for the heads-up! 🎉

@lock lock bot added the outdated label Feb 17, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Feb 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants