Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
iOS - Pod Install Erroring Out #1657
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.
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:
I'll install CocoaPods on the next VM update.