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

Issue after installing CocoaPods #2308

Closed
satashi2009 opened this issue Jul 12, 2014 · 7 comments
Closed

Issue after installing CocoaPods #2308

satashi2009 opened this issue Jul 12, 2014 · 7 comments

Comments

@satashi2009
Copy link

I run
sudo gem update --system
sudo gem install cocoapods
pod setup
But it show me error. Please help me fix it

/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/command/help.rb:6:in `<class:Help>': uninitialized constant CLAide::Argument (NameError)
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/command/help.rb:3:in `<class:Command>'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/command/help.rb:2:in `<module:Pod>'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/command/help.rb:1:in `<top (required)>'
    from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/command.rb:11:in `<class:Command>'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/command.rb:9:in `<module:Pod>'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/command.rb:4:in `<top (required)>'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/bin/pod:33:in `<top (required)>'
    from /usr/bin/pod:23:in `load'
    from /usr/bin/pod:23:in `<main>'
@alloy
Copy link
Member

alloy commented Jul 14, 2014

Can you see if sudo gem install claide fixes this for you?

@satashi2009
Copy link
Author

it does not work

Binhs-MacBook-Pro:~ ashi$ sudo gem install claide
Password:
Successfully installed claide-0.6.1
Parsing documentation for claide-0.6.1
Done installing documentation for claide after 0 seconds
1 gem installed
Binhs-MacBook-Pro:~ ashi$ sudo pod setup
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/command/help.rb:6:in `class:Help': uninitialized constant CLAide::Argument (NameError)

@segiddins
Copy link
Member

@AliSoftware ?

@andrewpbrett
Copy link

FWIW, I'm seeing this as well, but only when I manually build the gem from source, i.e. clone the repo and run gem build cocoapods.gemspec; gem install cocoapods-0.33.1.gem locally. If I install what rubygems.org thinks is the latest it works fine.

@segiddins
Copy link
Member

This is because you also need to build HEAD CLAide from source.

@andrewpbrett
Copy link

Oh, that makes sense, thanks.

@AliSoftware
Copy link
Contributor

@segiddins And two month later, I wake up… sorry for not being reactive, a lot of GitHub's CocoaPods notifications were lost during summer as I was a bit flooded by millions of them in my mail ^^ Hopefully will have more time to dig back into CP by the end of the year.

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

5 participants