On Aug 1, 2021, at 4:47 PM, Sam Ruby <ru...@intertwingly.net> wrote: > My experience is that reinstalling xcode-select is sometimes > necessary, but solves the problem. Unfortunately, this hasn't worked > for you.
I had to do that recently as well in order to get brew upgrade to work for some installs. I think one of the recent macOS or Xcode patches messed up all of the command-line tools, or removed some dependency binaries from the systems, and the way to fix it was to re-run xcode-select --install on my old 2013 mbp running 10.15.7. Another potential issue is the version of ruby installed. The system ruby for Catalina is 2.6.3p62, whereas brew installs 3.0.2. ....Roy