天天看点

kernel_require.rb:55:in `require': cannot load such file -- mach (LoadError)

https://github.com/Homebrew/legacy-homebrew/issues/49879

sudo chown -R $(whoami):admin /usr/local
cd $(brew --prefix) && git fetch origin && git reset --hard origin/master

           

then I could

brew update
           

and carry on as normal.