POD not working on OSX Catalina 10.15.6
This started with upgrade of the OS. which pod fails to work.
Eventually I traced out all the pods using which pod, uninstalled and deleted the pod manually.
Later on, used this bash script
for i in $( gem list --local --no-version | grep cocoapods ); do sudo gem uninstall $i; done sudo gem uninstall xcodeproj
And eventially just did:
$ sudo gem install -n /usr/local/bin cocoapods -v 1.4.0
And that solves it.
tony:ios dhtml$ ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]
tony:ios dhtml$ which ruby
tony:ios dhtml$ pod --version
tony:ios dhtml$ which pod