If brew update is running in the following error:
brew update ... cannot load such file -- mach (LoadError)
Try to reset your brew:
sudo chown -R $(whoami):admin /usr/local
cd /usr/local && git fetch && git reset --hard origin/master
If brew update is running in the following error:
brew update ... cannot load such file -- mach (LoadError)
Try to reset your brew:
sudo chown -R $(whoami):admin /usr/local
cd /usr/local && git fetch && git reset --hard origin/master