Comments (16)
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.
@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.
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.
/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.
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.
@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.
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.
I get the same error as in the OP on 10.12.3
from homebrew-cask-upgrade.
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.
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.
Another one affected here.
from homebrew-cask-upgrade.
After a clean mac install it works again for me
from homebrew-cask-upgrade.
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.
Error has just returned today.
Please reopen.
from homebrew-cask-upgrade.
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.
$ 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)
- Seems unnecessary in favor of `brew upgrade --greedy` anymore? HOT 1
- Trying to pin VirtualBox<7 HOT 4
- The tool is suggesting outdated version as upgradable HOT 5
- homebrew/bundle not included , how to install ? HOT 3
- Undefinded method for nil:NilClass HOT 18
- [FR] Upate formules HOT 5
- Cask with same name as formula leads to formula being upgraded/installed instead of cask HOT 1
- brew doctor reports error for homebrew-cask-upgrade HOT 2
- Error: Failure while executing; `/usr/bin/sudo -E -- /bin/cp -pR HOT 6
- Error: undefined method `versions' for Cask HOT 1
- make -a as default ? HOT 2
- Issues with brew cu pin commands HOT 7
- How to relink cask packages after accidentally upgrading them outside of Homebrew? HOT 3
- Upgrading cask: It seems there is already an App Suite at ... HOT 1
- `--no-brew-update` overrides `--all` HOT 5
- Outdated pinned color HOT 1
- Asks password multiple times in succession to upgrade each cask HOT 1
- Error: Cask 'omnigraffle' is unreadable: uninitialized constant Livecheck::Formula HOT 1
- Error: undefined method `downcase' for nil:NilClass HOT 3
- Allowing * Glob as a Placeholder in Search HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-cask-upgrade.