I installed rvm successfully as root on CentOS 5.5. Then I tried to install ruby-1.8.7-head
rvm install 1.8.7-head
And get such an error
Installing Ruby from source in: /usr/local/rvm/rubies/ruby-1.8.7-head, this may take some time depending on your CPU (s) ...
ruby-1.8.7-head - #fetching Cloning from [github url], this may take some time depending on your connection ... Initialized empty Git repository in / usr / local / rvm / repos / ruby -1.8.7- head / .git / error: SSL certificate problem, make sure the CA certificate is ok. Details: Error: 14090086: SSL procedures: SSL3_GET_SERVER_CERTIFICATE: certificate verification failed while accessing [github url]
fatal: the HTTP request failed to clone from [github.com/ruby.git] failed, now trying to clone from https://github.com/ruby/ruby.git , this may take some time, depending on your connection. .. Initialized empty Git repository in / usr / local / rvm / repos / ruby -1.8.7-head / .git / error: SSL certificate problem, make sure the CA certificate is ok. Details: Error: 14090086: SSL procedures: SSL3_GET_SERVER_CERTIFICATE: certificate verification failed while accessing [github.com/ruby/ruby.git/info/refs]
fatal: HTTP request failed ERROR: An error occurred while trying to get the repository.
Complete installation. ERROR: Error retrieving ruby interpreter. Complete installation.
source