reinstall homebrew on osx
I kept getting various homebrew errors while doing brew update. Error: Failed while executing git pull origin refs/heads/master:refs/remotes/origin/master error: unable to unlink old ‘bin/brew’ (Permission denied) brew update fails ‘unable to unlink old ‘.gitignore’ I did a brew doctor, and got tons of warnings and errors. Um… let’s just do a clean re-install… I don’t have time to troubleshoot all that. If you want to do a clean install, here it is, assuming your brew –prefix is /usr/local. ...