[!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are o

[!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down


ERROR:  While executing gem ... (Errno::EPERM)

    Operation not permitted - /usr/bin/update_rubygems

解决方案:

sudo gem install -n /usr/local/bin cocoapods   



你可能感兴趣的:(IOS开发)