在 Ubuntu 12.04 上安裝 rvm 時發生錯誤

在 Ubuntu 12.04 上安裝 rvm 時發生錯誤

我正在 Coursera 上學習 Web 應用程式開發課程,需要安裝 Ruby 和 Rails。我正在按照以下說明進行操作https://class.coursera.org/webapplications-002/forum/thread?thread_id=51

當我運行命令時sudo curl -L https://get.rvm.io | bash -s stable --ruby,我收到以下錯誤回應:

       % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0    988      0 --:--:-- --:--:-- --:--:--  1383
100 20758  100 20758    0     0  35274      0 --:--:-- --:--:-- --:--:-- 35274
Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz
curl: (77) error setting certificate verify locations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none

It looks like you have old certificates, you can read more about it here:
https://rvm.io/support/fixing-broken-ssl-certificates/

Downloading https://bitbucket.org/mpapis/rvm/get/stable.tar.gz
curl: (77) error setting certificate verify locations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none

It looks like you have old certificates, you can read more about it here:
https://rvm.io/support/fixing-broken-ssl-certificates/

谷歌搜尋這個錯誤,似乎這是 12.04 特有的。我還沒找到解決方法。有什麼建議如何繼續嗎?從我正在 Coursera 上學習入門課程這一事實可以看出,我對 Web 伺服器應用程式完全陌生。

先致謝!

相關內容