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?
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?
The installation in /usr/local/bin worked perfectly:
sudo gem install -n /usr/local/bin cocoapods
but only with adding addtional rights I was able to access it
sudo chmod -R 755 /usr/local/bin
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
0.38.2
It worked for me for the bug when run Cocoapods on El Capitan 10.11:
sudo gem install -n /usr/local/bin cocoapods
The same happened for me, sudo gem install cocoapods
solved the issue