homebrew error: “invalid active developer path” after upgrade to OS X El Capitan

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 Continue reading homebrew error: “invalid active developer path” after upgrade to OS X El Capitan