Please note that we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update and can still reproduce the problem?brew doctor, fixed all issues and can still reproduce the problem?brew config and brew doctor and included their output with your issue?Using homebrew after the Catalina upgrade ( macOS 10.15 (19A602) )
The brew command traceback, including brew doctor and brew config, so I won't be able to paste their output here.
Command output
Traceback (most recent call last):
3: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in <main>'
2: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:inrequire_relative'
1: from /usr/local/Homebrew/Library/Homebrew/global.rb:12:in <top (required)>'
/usr/local/Homebrew/Library/Homebrew/global.rb:12:inrequire': cannot load such file -- active_support/core_ext/object/blank (LoadError)
Strangely, brew update works most of the time, but happens to traceback too.
Normal usage.
brew commands)Run any one of those commands:
brew doctor
brew search vim
brew upgrade
...
It looks like I'm up-to-date:
/usr/local/Homebrew master*
โฏ git log -n 1 HEAD
commit cddf402365e83608f5dbd1bec44d7b544936a370 (HEAD -> master, origin/master)
Merge: 368b80aa8 20e85acec
Author: Mike McQuaid <[email protected]>
Date: Tue Oct 22 09:15:51 2019 +0100
Merge pull request #6620 from scpeters/must_exist_frameworks
os/mac/keg: Frameworks -> MUST_EXIST_DIRECTORIES
Can you try running brew update-reset?
- If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
This is not an issue everyone is experiencing so closing with assumption brew update-reset will fix things. Please take future similar issues to Discourse.
Thank you guys, I wasn't aware of the brew update-reset command but it fixed my issue.
I'll remember to try discourse first next time, sorry for wasting your time!
No worries @q-b, glad you got it sorted!
I've just hit the same issue after I upgraded Xcode on macOS Catalina 10.15.1 from 11.1 to 11.2. Running brew update-reset fixed the issue.
Just posting to state this is not an isolated incident and more people may be affected.
I also run into this issue once I executed brew cleanup some time after the upgrade from 10.14 to 10.15. brew update-reset fixed the problem for me as well.
I just hit this issue! Macosx Catalina 10.15 . Can't install homebrew !
`==> Downloading and installing Homebrew...
remote: Enumerating objects: 79, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (50/50), done.
remote: Total 129957 (delta 35), reused 47 (delta 29), pack-reused 129878
Receiving objects: 100% (129957/129957), 31.08 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (95356/95356), done.
From https://github.com/Homebrew/brew
<main>'
8: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:inrequire_relative'<top (required)>'
6: from /usr/local/Homebrew/Library/Homebrew/global.rb:109:innew'initialize'
4: from /usr/local/Homebrew/Library/Homebrew/PATH.rb:73:inparse'flat_map'
2: from /usr/local/Homebrew/Library/Homebrew/PATH.rb:73:ineach'block in parse'
/usr/local/Homebrew/Library/Homebrew/PATH.rb:73:insplit': invalid byte sequence in UTF-8 (ArgumentError)I had run brew update-reset and brew cleanup but I always get the same error
Most helpful comment
Can you try running
brew update-reset?