I have never used CocoaPods before. I have installed CocoaPods gems and now I want to delete them but it won't allow me to.
I've attempted to uninstall them by running the command,
$ gem uninstall cocoapods
Then it asked me if I wanted to remove executables [Yn]. I selected Y. I expected it to remove the CocoaPods. Instead it gave me the error:
'ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/local/bin directory.'
What does this error mean and how can I remove the CocoaPods?