Closed ghost closed 7 years ago
It seems that brew cask audit
requires a Cask name:
-bash-4.4.12- /Users/miccal [> brew cask audit
Error: cannot load such file -- caskroom/cask/010-editor
Follow the instructions here:
https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md
If this doesn’t fix the problem, please report this bug:
https://github.com/caskroom/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `load'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `block in all'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `map'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `all'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/audit.rb:41:in `casks_to_audit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/audit.rb:20:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/audit.rb:9:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:115:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:158:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
-bash-4.4.12- /Users/miccal [> brew cask audit 010-editor
audit for 010-editor: passed
OK. If it requires a Cask name then the man page needs to be updated to reflect that.
It doesn’t require a cask name. audit
without arguments should audit
all the casks. This likely broke in one of the recent refactorings.
Ping @reitermarkus.
I was successful in running an audit without passing any cask name
@gobinathm That confirms it. You seem to be using the latest correct release.
Hmm...I just did brew update
twice and I'm getting the error too...
> cask audit
Error: cannot load such file -- caskroom/cask/010-editor
Follow the instructions here:
https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md
If this doesn’t fix the problem, please report this bug:
https://github.com/caskroom/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `load'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `block in all'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `map'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `all'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/audit.rb:41:in `casks_to_audit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/audit.rb:20:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/audit.rb:9:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:115:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:158:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
> cask --version
Homebrew-Cask 1.1.11-179-gb757c92-dirty
caskroom/homebrew-cask (git revision 85d8879; last commit 2017-03-29)
Not sure why it says dirty
in the version name...
Same problem here.
Closing in favour of https://github.com/caskroom/homebrew-cask/issues/31784.
Remember to follow the pre bug report guide beforehand. Failure to do so might get your issue closed.
Description of issue
I ran
brew cask audit
without identifying a specific cask hoping to audit all installed casks per the documentation. The result:I have not installed 010-editor, so I installed it and went through all pre-reporting commands and received the same error. This is a fresh install of brew and cask today.
Output of `brew cask --verbose`
``` Error: cannot load such file -- caskroom/cask/010-editor Follow the instructions here: https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md If this doesn’t fix the problem, please report this bug: https://github.com/caskroom/homebrew-cask#reporting-bugs /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `load' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `block in all' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `map' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:10:in `all' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/audit.rb:41:in `casks_to_audit' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/audit.rb:20:in `run' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/audit.rb:9:in `run' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:115:in `run_command' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:158:in `process' /usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask' /usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `Output of `brew doctor`
``` Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry and just ignore them. Thanks! Warning: /usr/bin occurs before /usr/local/bin This means that system-provided programs will be used instead of those provided by Homebrew. The following tools exist at both paths: git git-cvsserver git-receive-pack git-shell git-upload-archive git-upload-pack Consider setting your PATH so that /usr/local/bin occurs before /usr/bin. Here is a one-liner: echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile ```Output of `brew cask doctor`
``` ==> Homebrew-Cask Version Homebrew-Cask 1.1.11-3402-g422afa0 caskroom/homebrew-cask (git revision 849a; last commit 2017-03-26) ==> Homebrew-Cask Install Location