Created
April 8, 2016 18:04
-
-
Save lucashungaro/02c40b4d618b93f3e44971889e7c33f3 to your computer and use it in GitHub Desktop.
Fix Homebrew issues after upgrading to El Capitan (errors such as /usr/local is not writable or cannot load such file --mach)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chown -R $(whoami):admin /usr/local | |
cd /usr/local | |
git reset --hard | |
git clean -df | |
brew update | |
Profit! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment