Nabil El
Nabil El

Reputation: 972

podfile gives an error on install or setup

This is my podfile

platform :ios, '7.0'

pod 'Mantle'
pod 'LBBlurredImage'
pod 'TSMessages'
pod 'ReactiveCocoa'

After "pod install" or 'pod setup'I get the following errors:

/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

Upvotes: 0

Views: 145

Answers (1)

andreamazz
andreamazz

Reputation: 4286

Try to reinstall cocoapods

gem uninstall cocoapods
gem install cocoapods

Upvotes: 1

Related Questions