2014-02-06 77 views
0

錯誤這是我podfilepodfile給出了安裝或設置

platform :ios, '7.0' 

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

後 「吊艙安裝」 或「莢setup'I得到以下錯誤:

/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 

回答

1

嘗試重新安裝的CocoaPods

gem uninstall cocoapods 
gem install cocoapods