Invalid active developer path on MAC OS X after installing Ruby

I started getting the same error after updating to OS X El Capitan.
In my case, all I did was to install it:

sudo xcode-select --install

And it works fine for me.

Leave a Comment