0

I am following this link : http://railsapps.github.io/installrubyonrails-mac.html to set up my ROR environment, I have successfully upgraded to MacOS Sierra and also installed Xcode with command line tools but unfortunately when I type gcc in terminal I get the following result

Alis-MacBook-Pro:~ aliahmad$ gcc
xcrun: error: invalid active developer path 
  (/Library/Developer/CommandLineTools), missing xcrun at:       
   /Library/Developer/CommandLineTools/usr/bin/xcrun

I don't know what does it mean can someone please assist me to sort it out it will be so helpful for me.

Deepak Mahakale
  • 22,834
  • 10
  • 68
  • 88
Ali Ahmed
  • 17
  • 1
  • 3

1 Answers1

0

There is this blog which have solution for the same problem.

Run the following command

xcode-select --install
Deepak Mahakale
  • 22,834
  • 10
  • 68
  • 88
  • i already did it but result is same and now i am trying to download Xcode from appstore. Hope it might resolve the issue but still don't know i am following the right path or not – Ali Ahmed Nov 07 '16 at 10:23