I am trying to install cocoapods to my MacBook Pro running with OSX 10.9.1 (new Mavericks) and after type gem install cocoapods I get the following error:
gem install cocoapods
First as wrote "Kevin" try to run in terminal:
xcode-select --install
If it doesn't help you download tools manually from apple developer site:
It helped me.