Skip to content

Error: wrong number of arguments (1 for 0) while loading '/usr/local/Library/Taps/caskroom/homebrew-cask/Casks/flash.rb' #8774

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

Closed
smandava opened this issue Jan 9, 2015 · 4 comments

Comments

@smandava
Copy link

smandava commented Jan 9, 2015

:5:in `name' :5:in`class:Flash' :in `' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/source/path_base.rb:72:in`eval' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/source/path_base.rb:72:in `rescue in load' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/source/path_base.rb:69:in`load' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask.rb:78:in `load' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/scopes.rb:55:in`block in installed' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/scopes.rb:49:in `map' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/scopes.rb:49:in`installed' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/cli/list.rb:52:in `list_installed' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/cli/list.rb:10:in`run' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/cli.rb:81:in `run_command' /usr/local/Cellar/brew-cask/0.49.0/rubylib/cask/cli.rb:121:in`process' /usr/local/bin/brew-cask.rb:42:in `' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in`require' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' /usr/local/Library/brew.rb:58:in`require?' /usr/local/Library/brew.rb:142:in `'
@andre487
Copy link

andre487 commented Jan 9, 2015

+1 But the same error in adobe-reader.rb

@tapeinosyne
Copy link
Contributor

You are encountering #7946, which can be fixed by upgrading to the latest version of homebrew-cask:

brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup

@Andre-487, I am assuming you are affected by the same bug. If the above solution does not work for you, let us know.

@andre487
Copy link

andre487 commented Jan 9, 2015

Yes, it works. Thanks!

@yzwind
Copy link

yzwind commented Jan 28, 2015

Thanks!

@miccal miccal removed the duplicate label Dec 23, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants