gem source -r gem source -a gem install cocoapods
或者安裝證書:
10年積累的成都網(wǎng)站制作、成都網(wǎng)站建設(shè)、外貿(mào)營銷網(wǎng)站建設(shè)經(jīng)驗(yàn),可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認(rèn)識你,你也不認(rèn)識我。但先網(wǎng)站制作后付款的網(wǎng)站建設(shè)流程,更有正陽免費(fèi)網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。
This is what solved it for me: Install this certificate:https://raw.githubusercontent.com/rubygems/rubygems/master/lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem
In this folder: {rubyfolder}\lib\ruby\2.1.0\rubygems\ssl_certs
This way you don't have to add insecure sources.
More info here: https://gist.github.com/luislavena/f064211759ee0f806c88