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

iOS - Pod Install Erroring Out #1657

Closed
bradya opened this Issue Nov 22, 2013 · 8 comments

Comments

Projects
None yet
6 participants
@bradya

bradya commented Nov 22, 2013

Our iOS builds (which are using CocoaPods) are erroring out just after 'before_install' is run. Seeing some odd inconsistencies with Ruby versions which might be causing the error.

$ ruby --version
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.5.0]

...

$ pod install
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem cocoapods (>= 0) (Gem::LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate'
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem'
    from /usr/bin/pod:18

The command "pod install" failed and exited with 1 during install.
Your build has been stopped.
@sarahhodne

This comment has been minimized.

Show comment
Hide comment
@sarahhodne

sarahhodne Nov 22, 2013

Contributor

Sorry about that, I updated the default Ruby to 2.0.0, but forgot to install CocoaPods. There are two workarounds at the moment: Use a different Ruby (for example: rvm: 1.9.3) or install CocoaPods before running it (before_install: gem install cocoapods).

I'll install CocoaPods on the next VM update.

Contributor

sarahhodne commented Nov 22, 2013

Sorry about that, I updated the default Ruby to 2.0.0, but forgot to install CocoaPods. There are two workarounds at the moment: Use a different Ruby (for example: rvm: 1.9.3) or install CocoaPods before running it (before_install: gem install cocoapods).

I'll install CocoaPods on the next VM update.

@iprebeg

This comment has been minimized.

Show comment
Hide comment
@iprebeg

iprebeg Nov 22, 2013

this is duplicate of #1637

@bradya checkout there for details

iprebeg commented Nov 22, 2013

this is duplicate of #1637

@bradya checkout there for details

@tonyxiao

This comment has been minimized.

Show comment
Hide comment
@tonyxiao

tonyxiao Dec 29, 2013

@henrikhodne is this a issue fixed in the latest vm?

tonyxiao commented Dec 29, 2013

@henrikhodne is this a issue fixed in the latest vm?

rick-li pushed a commit to rick-li/duosuccess-ios that referenced this issue Jan 5, 2014

mrackwitz added a commit to mrackwitz/MRProgress that referenced this issue Jan 12, 2014

jgallagher added a commit to bignerdranch/BNRDynamicTypeManager that referenced this issue Feb 5, 2014

@sarahhodne sarahhodne self-assigned this Feb 24, 2014

siuying added a commit to siuying/IGHTMLQuery that referenced this issue Mar 13, 2014

blakewatters added a commit to blakewatters/TransitionKit that referenced this issue Mar 14, 2014

blakewatters added a commit to blakewatters/TransitionKit that referenced this issue Mar 14, 2014

@joshk

This comment has been minimized.

Show comment
Hide comment
@joshk
Member

joshk commented Mar 25, 2014

dblock added a commit to dblock/objc-ngram that referenced this issue Mar 26, 2014

@sarahhodne sarahhodne added this to the Next OS X environment update milestone Mar 27, 2014

@PerishableDave

This comment has been minimized.

Show comment
Hide comment
@PerishableDave

PerishableDave commented Mar 28, 2014

@sarahhodne

This comment has been minimized.

Show comment
Hide comment
@sarahhodne

sarahhodne Mar 28, 2014

Contributor

Sorry for the delay in getting this fixed. I have a new OS X environment update almost ready to roll out, this will be fixed in that update. Will let you all know when it's deployed.

Contributor

sarahhodne commented Mar 28, 2014

Sorry for the delay in getting this fixed. I have a new OS X environment update almost ready to roll out, this will be fixed in that update. Will let you all know when it's deployed.

lazerwalker added a commit to intentkit/IntentKit that referenced this issue Apr 6, 2014

Temporary fix for Travis errors
Workaround for the Travis OS X image bug documented at travis-ci/travis-ci#1657

hectr added a commit to hectr/ErrorKit that referenced this issue Apr 8, 2014

@sarahhodne

This comment has been minimized.

Show comment
Hide comment
@sarahhodne

sarahhodne Apr 15, 2014

Contributor

This should be fixed in this week's update.

Contributor

sarahhodne commented Apr 15, 2014

This should be fixed in this week's update.

nowsprinting added a commit to nowsprinting/iosAppsTestAutomationSamples that referenced this issue Apr 16, 2014

Mod Travis CI environment settings for CocoaPods
Travis CIのMac OS X(およびCocoaPods)に関するIssueが解消されたため、
.travis.ymlの暫定対処を削除。

see:
- 『iOSアプリ テスト自動化入門』7.3.2 .travis.yml
- http://blog.travis-ci.com/2014-04-15-xcode-51-ios-71-osx-109/
- travis-ci/travis-ci#1657
@sarahhodne

This comment has been minimized.

Show comment
Hide comment
@sarahhodne

sarahhodne Apr 18, 2014

Contributor

This should be fixed now, closing this. Please let me know if you are seeing this still.

Contributor

sarahhodne commented Apr 18, 2014

This should be fixed now, closing this. Please let me know if you are seeing this still.

@sarahhodne sarahhodne closed this Apr 18, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment