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

undefined method `cask' for main:Object #8253

Closed
hollingberry opened this issue Dec 19, 2014 · 1 comment
Closed

undefined method `cask' for main:Object #8253

hollingberry opened this issue Dec 19, 2014 · 1 comment

Comments

@hollingberry
Copy link

$ brew cask info sublime-text
Error: undefined method `cask' for main:Object
Please report this bug:
    https://github.com/caskroom/homebrew-cask/issues
/usr/local/Library/Taps/caskroom/homebrew-cask/Casks/sublime-text.rb:1:in `<top (required)>'
/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/Cellar/brew-cask/0.35.0/rubylib/cask/source/path.rb:13:in `load'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/source/tapped.rb:24:in `load'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask.rb:118:in `load'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli/info.rb:6:in `block in run'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli/info.rb:4:in `each'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli/info.rb:4:in `run'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli.rb:57:in `run_command'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli.rb:72:in `process'
/usr/local/bin/brew-cask.rb:6:in `<top (required)>'
/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:59:in `require?'
/usr/local/Library/brew.rb:142:in `<main>'
@hollingberry
Copy link
Author

Nevermind, I hadn't seen #8233. Running brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup fixed the issue.

@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

3 participants