Cocoapods after El Capitan installation

After updating to El Capitan I stumbled upon an serious issue. I couldn’t update pods on my projects. Pod command could not be found. I had find a way to re-install cocoapods.

Simple solution. Go to terminal and run the following command

sudo gem install -n /usr/local/bin cocoapods

Original command gem install
sudo gem install cocoapods was not working cause of writing permissions.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.