Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to update the CocoaPods version? #21

Open
Horse888 opened this issue Dec 12, 2013 · 7 comments
Open

How to update the CocoaPods version? #21

Horse888 opened this issue Dec 12, 2013 · 7 comments

Comments

@Horse888
Copy link

When I use this plugin, I see the cocoapods version is 0.23.0 from the menu, but my command line is 0.28.0, so how to update it to 0.28.0?

pod --version
0.28.0

@ealeksandrov
Copy link

Run type -a pod, than check versions of all instances, like /usr/bin/pod --version
In my case latest version was in rbenv folder, right now I am looking for a way KFCocoaPodsPlugin can recognize rbenv gem.

@ealeksandrov
Copy link

Ended up with removing rbenv and installing cocoapods in system ruby.

This was referenced Dec 13, 2013
@Horse888
Copy link
Author

$ which pod

/Users/XXX/.rvm/gems/ruby-1.9.3-p448/bin/pod
$ type -a pod
pod is /Users/Dio/.rvm/gems/ruby-1.9.3-p448/bin/pod
pod is /usr/bin/pod
$ /usr/bin/pod --version
0.28.0
$ /Users/Dio/.rvm/gems/ruby-1.9.3-p448/bin/pod --version
0.28.0

Here is my result. all is 0.28.0, but the plugin show 0.23.0, and it use 0.23.0 not 0.28.0

@trispo
Copy link
Collaborator

trispo commented Dec 13, 2013

Could you check which output you get from both versions if you call "pod ipc repl"?

@Horse888
Copy link
Author

Here is the result, all is 0.28.0

$ pod ipc repl
$ version: '0.28.0'

$ /Users/XXX/.rvm/gems/ruby-1.9.3-p448/bin/pod ipc repl
$ version: '0.28.0'

$ /usr/bin/pod ipc repl
$ version: '0.28.0'

@trispo
Copy link
Collaborator

trispo commented Dec 13, 2013

That's strange. The plugin calls this command under the hood. So I cannot imagine why it says 0.23.0.

@Horse888
Copy link
Author

After restart the system, it's show normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants