-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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: no implicit conversion of nil into String OR "undefined method `extname' for nil:NilClass" #7946
Comments
Actually I appear to get this with all install options - I think I have a bad cask tapped.. |
Hi! There are a group of similar issues filed in the last few hours. My guess is that something changed today on Homebrew's side that broke our assumptions (our released code hasn't changed since 2 Dec). Unfortunately I may not have a chance to look at this for many hours, possibly tomorrow. Pinging @claui @federicobond @ndr-qef in case you are interested. Since your issue had the most general name already, I revised the title a bit and made it the chief bug. |
Seems like Homebrew/legacy-homebrew@c9ebe08 causes the issue. |
Confirmed.
and rock again! |
@rolandwalker @renard thanks guys! That's some amazing timing - the retina iMac I've been waiting for for weeks finally arrive and my fancy-schmancy auto-setup script explodes. :) Thanks for the efforts on a workaround and hopefully a fix sometime soon. :) |
@renard thanks a million! I'm looking at it now. |
I guess |
Yes, I saw that, but I went with
@renard your analysis saved so much time, thanks again. |
Just cut release v0.50.0 which contains this fix. The following command should fix the issue: $ brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup |
@rolandwalker @renard you guys rock. |
Can confirm v0.50.0 solves the issue for me. Nice work gents. |
Cross referencing #5080 and this code comment about how we abuse Homebrew's classes. Pretty much everything is wrong about the architecture here because
1 It is OK to invoke the |
Not having homebrew cask updated can lead to problems such as reported in the following issues. The cask recipe should perform an update if the auto-update attribute is true. * Homebrew/homebrew-cask#7946 (comment) 907 * chef-boneyard/pantry-chef-repo#9
Not having homebrew cask updated can lead to problems such as reported in the following issues. The cask recipe should perform an update if the auto-update attribute is true. * Homebrew/homebrew-cask#7946 (comment) 907 * chef-boneyard/pantry-chef-repo#9
Hit an issue trying to set up a new Mac this evening. Reporting because it asked me to. Any advice?
The text was updated successfully, but these errors were encountered: