What I did was run the following and it seemed to work
gem install cocoapods --user-install
I guess from there you need to update your path to point to the user directory.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: