Today, after having tried to update brew on the OS X El Capitan for the first time after the OS X upgrade, I got the following error:
Why? Zero ideas! I really don’t know the reason of that. Anyhow, to fix it you can follow the below steps.
You should install xcode
(if you haven’t already done that) and you can do it through terminal:
then you should specify that Xcode have to use for command line developer tools:
If required by a message on terminal, it might be necessary to change permission on the /usr/local
directory:
Tht’s all!! GWH!