Steaphann Steaphann - 1 month ago 5x
Objective-C Question

Cocoapods on el capitan

I've just update my OSX to

El Capitan
. Now when I want to update my PodFile I get this error:

pod: command not found

Any help here?


binstubs are no longer installed into /usr/bin.

If you are upgrading from Yosemite simply uninstall cocoapods (gem uninstall cocoapods or sudo gem uninstall cocoapods) and then run the following:

$ sudo gem install cocoapods
1 gem installed
$ export PATH=$PATH:/Library/Ruby/bin
$ pod --version