homebrew-cask-upgrade: error on brew cu
Error: cannot load such file – cask/all
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require’
/usr/local/Homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/bcu.rb:4:in <top (required)>' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require’
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' /usr/local/Homebrew/Library/Taps/buo/homebrew-cask-upgrade/cmd/brew-cu.rb:32:in
<top (required)>’
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require’
/usr/local/Homebrew/Library/Homebrew/utils.rb:19:in require?' /usr/local/Homebrew/Library/Homebrew/brew.rb:95:in
<main>’
~ ▶ brew cask doctor ==> Homebrew-Cask Version Homebrew-Cask 1.7.3 Homebrew/homebrew-cask (git revision 02f179; last commit 2018-09-05) ==> macOS 10.13.6 ==> SIP Enabled ==> Java N/A ==> Homebrew-Cask Install Location <NONE> ==> Homebrew-Cask Staging Location /usr/local/Caskroom ==> Homebrew-Cask Taps: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (4045 casks) ==> Contents of $LOAD_PATH /Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib /Library/Ruby/Site/2.3.0 /Library/Ruby/Site/2.3.0/x86_64-darwin17 /Library/Ruby/Site/2.3.0/universal-darwin17 /Library/Ruby/Site /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin17 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin17 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin17 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin17 /usr/local/Homebrew/Library/Homebrew/cask/lib /usr/local/Homebrew/Library/Homebrew ==> Environment Variables LC_ALL=“en_US.UTF-8” PATH=“/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm” SHELL=“/bin/bash”
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 15
- Comments: 23
@hmstanley: do this
I followed the workaround, but now the error is:
@hmstanley Why close this issue? You are not the only one affected, and there needs to be a better fix than nuking the git repo.
That worked. Please close.
Yeah, there was another rename happening, there is already a fix for that waiting in PR https://github.com/buo/homebrew-cask-upgrade/pull/114
Just waiting for @buo to merge that. Meanwhile feel free to use my branch from that PR
@buo: we all love you, could you please help us out with the merge? 😃 :shipit: and apologies if my mention annoyed you.
Since not yet merged, here is a workaround: https://github.com/buo/homebrew-cask-upgrade/pull/114#issuecomment-419379489
Same here. Workaround leads into: Error: uninitialized constant Hbc
@Fischmuetze If you don’t know, would be better if you wait until the master branch gets updated. It involves some knowledge about git and be able to fix potential issues. Therefore I would strongly recommend right now for you to wait 🙂
@ondrejfuhrer
How?
Thanks!
Thanks!
Thx, fixed!
Thank you for the quick fix!
Just came here because of this. Thanks for the fix!