uninstall cocoapods

Shell
sudo gem uninstall cocoapods
sudo gem list cocoapods-core
gem list cocoapods 
Source

Also in Shell: