For some time did not use Pod, suddenly reported a mistake, checked the next, the original is not updated pod,
1, update gem:sudo gem update--system
2. See if the gem source is up to date: Gem Sources-l
3, upgrade Cocoapods:sudo gem install-n/usr/local/bin cocoapods--pre
4. View the upgraded Cocoapods version: Pod--version
I was directly updated under, and then can be used, as for the use of no replacement mirror, this I have not tried, the above steps have solved my problem, pro-test effective!
I have also listed the other steps:
1. Update Gem:sudo gem update--system
2. Delete Gem Source: Gem Sources--remove https://ruby.taobao.org/
3. Change gem Source: Gem Sources-a https://gems.ruby-china.org
4. See if the gem source is up to date: Gem sources-l
5. Upgrade Cocoapods:sudo gem Install-n/usr/local/bin cocoapods--pre
6. View the upgraded Cocoapods version: Pod--version
iOS development--/system/library/frameworks/ruby.framework/versions/2.0/usr/bin/ruby:bad Interpreter:no such file