This might be a simple question, but I can't seem to fix it.
What should i change to make install pod works?
I have same Issue.
Hi @kohdesmond, @LSsoftware, do you have the cocoapods gem installed? What do you see when you run these commands in a terminal:
By default, the plugin looks for Cocoapods to be installed at /usr/bin/pod, which should happen when you run gem install cocoapods using the default ruby command on OS X (/usr/bin/ruby).
gem install cocoapods
If /usr/bin/pod does not exist and you do have cocoapods installed, you can instead replace GEM_PATH in the menu (Product > Cocoapods > GEM_PATH) with the output of the command which pod. Let me know if this helps!
Thanks @kattrali. In my case it was /usr/local/bin/ instead (not sure why...It was working fine until I upgraded to El Capitan)
@kattrali, in my case it /usr/bin/ruby & /usr/local/bin/pod running El Capitan too..
@kattrali , i reinstall ruby many many times, i finally solved the issues. Also thank you.
@LSsoftware awesome! glad to help.
@kohdesmond @bre7 Does changing GEM_PATH to /usr/bin/local fix your issue? I'll update the pod command to use /usr/local/bin/pod if that is the new default.
@kattrali, yes it does work for me by using /usr/local/bin/
i'm closing this issue Thanks!
I had to update GEM_PATH after reinstalling CocoaPods on OS X El Capitan, even though I never reinstalled Ruby and the path for which ruby remains the default. pod was now installed under /usr/local/bin/pod. Maybe this is a new default?
Ah, thanks @macecchi, that helps!
I just updated. I uninstalled and reinstalled this plugin from package manager. I tried:
Both didnt work
After this it worked with /usr/local/bin/
yes, it worked with /usr/local/bin/
Fall back to /usr/local/bin as default if GEM_PATH doesn’t resolve
The new default location for system installed pods is /usr/local/bin as
of OS X El Capitan. Added a fall back to check this location.
Fixes #73, #76, #78, #79