我以前有更新cocoapods一些SSL問題,並修復它我更新了rubygems。但是,我現在有一個新的錯誤。這就是我所做的和我得到了什麼:爲什麼我得到這個錯誤試圖更新cocoapods?
Alexs-MBP:~ alextyshka$ sudo gem install cocoapods Password: ERROR: SSL verification error at depth 2: certificate has expired (10) ERROR: Certificate /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA expired at 2014-01-28T12:00:00Z ERROR: SSL verification error at depth 2: certificate has expired (10) ERROR: Certificate /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA expired at 2014-01-28T12:00:00Z ERROR: SSL verification error at depth 2: certificate has expired (10) ERROR: Certificate /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA expired at 2014-01-28T12:00:00Z ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz) ERROR: SSL verification error at depth 2: certificate has expired (10) ERROR: Certificate /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA expired at 2014-01-28T12:00:00Z
我在網上看了各種各樣的事情有關到期GlobalSign的證書,但我真的不想搞砸了重要的東西在我的Mac。有什麼建議?
的步驟是在GlobalSign CA爲我的電腦很重要,因爲正如我說我不想搞砸關鍵的東西。另外,當我試圖獲得rvm版本時,它說我沒有rvm –
您能解釋什麼是GlobalSign證書嗎?它是操作系統的一部分嗎?部分Ruby?寶石的一部分?我不是很有經驗的編碼,我只想做一個Cocoapods教程。 –
GlobalSign證書是'Ruby的一部分',根據提示,你的Ruby證書已經過期 – liangju