Reputation: 223
I'm trying to remove an older version of cocoapods. I've used the terminal command:
$ sudo gem uninstall cocoapods
However, afterwards when I type:
$ pod --version
I get 0.22.3 in return.
When I try:
gem list --local | grep cocoapods
nothing is returned.
Thanks for your help.
Upvotes: 1
Views: 3296
Reputation: 3111
which pod
sudo rm /Library/Ruby/Gems/[VersionNumber]/cocoapods*
sudo gem install cocoapods
Upvotes: 0
Reputation: 1762
After $ sudo gem uninstall cocoapods
write number from choice ex:
Select gem to uninstall:
1. cocoapods-0.34.1
2. cocoapods-0.34.4
3. cocoapods-0.35.0
4. cocoapods-0.35.0.rc2
5. All versions
> 5
It works for me...
Upvotes: 3
Reputation: 61
This command will tell you where the pod binary is installed :
which pod
You can manually remove it afterwards :
sudo rm -rf <path>
Upvotes: 5