我在CentOS 5.5上以root身份成功安裝了rvm。 然後我試圖安裝Ruby-1.8.7-頭rvm在centos上安裝1.8.7-head錯誤5.5
rvm install 1.8.7-head
和接收這樣的錯誤
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.8.7-head, this may take a while depending on your cpu(s)...
ruby-1.8.7-head - #fetching Cloning from [github url], this may take a while depending on your connection... Initialized empty Git repository in /usr/local/rvm/repos/ruby-1.8.7-head/.git/ error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing [github url]
fatal: HTTP request failed cloning from [github.com/ruby.git] failed, now attempting to clone from https://github.com/ruby/ruby.git , this may take a while depending on your connection... Initialized empty Git repository in /usr/local/rvm/repos/ruby-1.8.7-head/.git/ error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing [github.com/ruby/ruby.git/info/refs]
fatal: HTTP request failed ERROR: There has been an error while trying to fetch the repository.
Halting the installation. ERROR: There has been an error fetching the ruby interpreter. Halting the installation.
通過安裝Autoconf 2.60與這樣的命令解決了這個問題: > wget http://ftp.gnu.org/gnu/autoconf/autoconf -2.63.tar.gz >焦油xvzf的autoconf-2.63.tar.gz > CD autoconf的2.63 > ./配置 - 前綴=/USR >使 >使安裝 – 2011-06-05 07:48:04