當我試圖pod install
,得到以下問題:找不到 '的CocoaPods'(> = 0)N總寶石(S)(寶石:: LoadError)中
Faizs-MBP:newj faizfareed$ pod install
/Library/Ruby/Site/2.0.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'cocoapods' (>= 0) among 50 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/faizfareed/.gem/ruby/2.0.0:/Library/Ruby/Gems/2.0.0:/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0', execute `gem env` for more information
from /Library/Ruby/Site/2.0.0/rubygems/dependency.rb:324:in `to_spec'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
from /usr/local/bin/pod:22:in `<main>'
Faizs-MBP:newj faizfareed$
您還可以找到連接detailed image以上錯誤。
任何人都可以解決這個問題?
我按照你的指示&卸載了所有的寶石。但是當我嘗試安裝cocoapods時,它提供了以下錯誤。
請指點。 。 。
謝謝
你安裝'cocoapods'寶石? – Uzbekjon
是的,我安裝了它的最新版本 –
如果你在OS X El Cap上,你應該看到http://stackoverflow.com/questions/32891965/error-while-executing-gem-errnoeperm-operation-not-permitted – Sinstein