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

Error with brew cask install fiji #8601

Closed
nerduno opened this issue Jan 2, 2015 · 1 comment
Closed

Error with brew cask install fiji #8601

nerduno opened this issue Jan 2, 2015 · 1 comment

Comments

@nerduno
Copy link

nerduno commented Jan 2, 2015

When attempting to install fiji using brew cask install fiji, I receive the following error:

brew cask install fiji
==> Downloading http://jenkins.imagej.net/job/Stable-Fiji-MacOSX/lastSuccessfulBuild/artifact/fiji-macosx.dmg

################################################################## 100.0%

Error: undefined method extname' for 0:Fixnum Please report this bug: https://github.com/caskroom/homebrew-cask/issues /usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/container/criteria.rb:43:inextension'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/container/pkg.rb:3:in me?' /usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/container.rb:50:inblock in for_path'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/container.rb:48:in each' /usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/container.rb:48:infind'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/container.rb:48:in for_path' /usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/installer.rb:83:inextract_primary_container'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/installer.rb:50:in install' /usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli/install.rb:20:inblock in install_casks'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli/install.rb:17:in each' /usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli/install.rb:17:ininstall_casks'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli/install.rb:6:in run' /usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli.rb:81:inrun_command'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli.rb:121:in process' /usr/local/bin/brew-cask.rb:42: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:inrequire'
/usr/local/Library/brew.rb:59:in require?' /usr/local/Library/brew.rb:142:in

'

@tapeinosyne
Copy link
Contributor

Hello @nerduno. You are encountering #7946, which affects outdated versions of brew-cask. Upgrading should fix the issue:

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

If it does not, let me know.

@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