Code Monkey home page Code Monkey logo

Comments (16)

buo avatar buo commented on July 24, 2024 1

I could reproduce this error on the Homebrew master branch. The error was caused by this commit which is not yet released, so I think it's not a good idea to merge #44 now because it produces an error on the stable version.

from homebrew-cask-upgrade.

yurikoles avatar yurikoles commented on July 24, 2024 1

@buo I don't see stable branch in brew, just master one. What kind of release we need to wait to?

from homebrew-cask-upgrade.

z0rc avatar z0rc commented on July 24, 2024 1

I'm pretty sure there is a big number of users on master branch of Homebrew. I'm not sure when and what was changed, but my installation tracks master branch of Homebrew, not the releases. And I really don't know how and whether I actually should switch from master branch to point releases.

Update: I checked Homebrew installation script and it installs brew from master.

from homebrew-cask-upgrade.

yurikoles avatar yurikoles commented on July 24, 2024 1
/usr/local/Homebrew $ git branch -av 
* master                00af5250 caveats: combine completion and function messages
  remotes/origin/master 00af5250 caveats: combine completion and function messages

https://github.com/Homebrew/install/blob/master/install#L305
in install script:

system git, "reset", "--hard", "origin/master"

from homebrew-cask-upgrade.

buo avatar buo commented on July 24, 2024 1

I added a hack to fix this issue temporarily. The hack will be removed in the future when Homebrew 1.1.12 is released.

from homebrew-cask-upgrade.

yurikoles avatar yurikoles commented on July 24, 2024 1

@buo sorry, seems like I have something wrong with my master branch of cask. I have recreated master and now this issue is fixed.

from homebrew-cask-upgrade.

forrestwparker avatar forrestwparker commented on July 24, 2024

To add to this, I have no problem running brew cu on macOS 10.12.3, but I get the above error when I attempt to run the command on OSX 10.11.6.

from homebrew-cask-upgrade.

SainteCelery avatar SainteCelery commented on July 24, 2024

I get the same error as in the OP on 10.12.3

from homebrew-cask-upgrade.

ycaille avatar ycaille commented on July 24, 2024

Same error on macOS 10.12.3
I'm quite puzzled as I'm using rbenv with ruby 2.4.0 set as [global] but error message keeps referring to /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55

from homebrew-cask-upgrade.

scottsideleau avatar scottsideleau commented on July 24, 2024

Same error as OP. System info:

MacOS 10.11.6
Homebrew 1.1.11-108-g09a926f44
Homebrew/homebrew-core (git revision d9798; last commit 2017-03-18)
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin15]

from homebrew-cask-upgrade.

yurikoles avatar yurikoles commented on July 24, 2024

Another one affected here.

from homebrew-cask-upgrade.

 avatar commented on July 24, 2024

After a clean mac install it works again for me

from homebrew-cask-upgrade.

buo avatar buo commented on July 24, 2024

It seems that this issue occurs in a specific environment. I couldn't reproduce this error on my mac 10.12.3 and 10.11.6, and it works well on Travis CI.

from homebrew-cask-upgrade.

yurikoles avatar yurikoles commented on July 24, 2024

Error has just returned today.
Please reopen.

from homebrew-cask-upgrade.

buo avatar buo commented on July 24, 2024

I don't see any errors on the stable branch (git revision 394f9fa0):

$ cd /usr/local/Homebrew
$ git checkout stable
$ brew cask --version
Homebrew-Cask 1.1.11
caskroom/homebrew-cask (git revision a0124; last commit 2017-03-23)

and master branch (git revision 17cc40f1):

$ cd /usr/local/Homebrew
$ git checkout master
$ brew cask --version
Homebrew-Cask 1.1.11-132-g17cc40f1
caskroom/homebrew-cask (git revision a0124; last commit 2017-03-23)

from homebrew-cask-upgrade.

yurikoles avatar yurikoles commented on July 24, 2024

@buo

$ brew -v
Homebrew 1.1.11-3388-gf8cf5066
Homebrew/homebrew-core (git revision 328a89; last commit 2017-03-23)

from homebrew-cask-upgrade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.