$brew update
then
$brew upgrade
then
$brew uninstall cocoapods
then
$brew install cocoapods
then
$brew link --overwrite cocoapods
This is what I followed All you need to make sure is you have the latest brew and then install cocoapods
Topic:
App & System Services
SubTopic:
Core OS
Tags: