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

no implicit conversion of nil into String (Java 1.8.5 Yosemite) #8076

Closed
SummitPatel opened this issue Dec 12, 2014 · 1 comment
Closed

no implicit conversion of nil into String (Java 1.8.5 Yosemite) #8076

SummitPatel opened this issue Dec 12, 2014 · 1 comment

Comments

@SummitPatel
Copy link

Hi,

I tried to run "brew cask install java" today and I received this error:

Error:no implicit conversion of nil into String

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb:44:in initialize' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb:44:inopen'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb:44:in file' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb:29:infile'
/usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/download.rb:41:in block in _check_sums' /usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/download.rb:39:ineach'
/usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/download.rb:39:in _check_sums' /usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/download.rb:32:inperform'
/usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/installer.rb:72:in download' /usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/installer.rb:49:ininstall'
/usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/cli/install.rb:20:in block in install_casks' /usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/cli/install.rb:17:ineach'
/usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/cli/install.rb:17:in install_casks' /usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/cli/install.rb:6:inrun'
/usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/cli.rb:81:in run_command' /usr/local/Cellar/brew-cask/0.48.0/rubylib/cask/cli.rb:121:inprocess'
/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:inrequire'
/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:inrequire?'
/usr/local/Library/brew.rb:142:in `

'

Let me know if I need to provide more information.

@rolandwalker
Copy link
Contributor

Hi!

This is a duplicate of #7946.

We recently merged a fix and cut release v0.50.0. The following command should fix the issue:

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

@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