If you are getting error like:
error: unable to unlink old '.gitignore' (Permission denied)
error: unable to create file .travis.yml (Permission denied)
...
then you need to do following.
use command brew doctor to get a list of potential issues and solutions
$brew doctor
For this particular issue, the solution was to change ownership on /usr/local
$sudo chown -R $(whoami) /usr/local
That is it. Now brew update should work!
No comments:
Post a Comment