On Mon, Aug 2, 2021 at 2:10 PM Roy T. Fielding <field...@gbiv.com> wrote: > > 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.
Since Craig indicated that he was running 2.6.3p62, I was assuming that he is using system Ruby, but your comment sparked something for me: perhaps he has an inconsistent version of either bundle or gem. Craig, please try the following commands, and verify the results: % head -1 `which bundle` #!/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby % head -1 `which gem` #!/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby - Sam Ruby