You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran brew doctor, fixed as many issues as possible and retried your prior step?
This is probably by design, but it's quite annoying, and maybe someone here can think of a better way of tweaking it than I can, which is to basically port the log command to be more friendly to being called inside Ruby.
Essentially if you forget to pass --new-formula whilst auditing a formula with no prior history audit erupts unhelpfully:
Error: undefined method `[]' for nil:NilClass
Please report this bug:
http://docs.brew.sh/Troubleshooting.html
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:752:in `block in audit_revision_and_version_scheme'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:751:in `each'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:751:in `audit_revision_and_version_scheme'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:1239:in `block in audit'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:1232:in `each'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:1232:in `audit'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:82:in `block in audit'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:78:in `each'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:78:in `audit'
/usr/local/Homebrew/Library/Homebrew/brew.rb:90:in `<main>'
Feel free to close if it's something that only bothers me 😄.
The text was updated successfully, but these errors were encountered:
Please always follow these steps:
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?This is probably by design, but it's quite annoying, and maybe someone here can think of a better way of tweaking it than I can, which is to basically port the
log
command to be more friendly to being called inside Ruby.Essentially if you forget to pass
--new-formula
whilst auditing a formula with no prior historyaudit
erupts unhelpfully:Feel free to close if it's something that only bothers me 😄.
The text was updated successfully, but these errors were encountered: