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
Error: Cannot write to /usr/local/Cellar
Can be solved with:
sudo chmod a+w /usr/local/Cellar