Closed hmstanley closed 5 years ago
Hmm, it looks like this is caused by #110 ?
Do i need to do anything? to fix?
@hmstanley: do this
$ cd "$(brew --repo)
$ git fetch
$ git reset --hard origin/master
$ brew update
That worked. Please close.
On Sep 5, 2018, at 9:26 AM, y0y0z notifications@github.com wrote:
@hmstanley https://github.com/hmstanley: do this
$ cd "$(brew --repo) $ git fetch $ git reset --hard origin/master $ brew update — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/buo/homebrew-cask-upgrade/issues/112#issuecomment-418793946, or mute the thread https://github.com/notifications/unsubscribe-auth/AA9MaBHTZq5ma5pUW1SZQupsKpT7DZ45ks5uX_sjgaJpZM4WbN7J.
@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.
Oh, fair enough.. sorry.. was just pointing out that it fixed it for me.
@hmstanley That's cool.
Also, the first line in the proposed workaround is incorrect. You need to omit the double quotes ("
).
The correct command is cd $(brew --repo)
yea. Fixed that myself.. but yes.
On Sep 5, 2018, at 11:10 AM, Mark Richman notifications@github.com wrote:
@hmstanley https://github.com/hmstanley That's cool.
Also, the first line in the proposed workaround is incorrect. You need to omit the double quotes (").
The correct command is cd $(brew --repo)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/buo/homebrew-cask-upgrade/issues/112#issuecomment-418827496, or mute the thread https://github.com/notifications/unsubscribe-auth/AA9MaPGBFXLKz568DgT0xIZOjesFjsUMks5uYBODgaJpZM4WbN7J.
Just came here because of this. Thanks for the fix!
Thank you for the quick fix!
Thx, fixed!
Thanks!
Thanks!
I followed the workaround, but now the error is:
ijhack:Homebrew jhack$ brew cu -ay
Error: uninitialized constant Hbc
/usr/local/Homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/hbc.rb:3:in `<top (required)>'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/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:6:in `<top (required)>'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/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)>'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/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>'
Same here. Workaround leads into: Error: uninitialized constant Hbc
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
@ondrejfuhrer
Meanwhile feel free to use my branch from that PR
How?
@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 🙂
Thanks a lot ... hopefully the fix will be available soon
Since not yet merged, here is a workaround: https://github.com/buo/homebrew-cask-upgrade/pull/114#issuecomment-419379489
@ondrejfuhrer: any idea what keeps it from being merged if it fixes the issue?
@y0y0z I'm guessing that @buo simply hasn't had the time to review it yet; he approved another PR that @ondrejfuhrer created for this general issue.
@buo: we all love you, could you please help us out with the merge? :) :shipit: and apologies if my mention annoyed you.
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:inrequire' /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:inrequire' /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:inrequire?' /usr/local/Homebrew/Library/Homebrew/brew.rb:95:in
~ ▶ 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