I installed rvm successfully as a root on CentOS 5.5. Then I tried to to install ruby-1.8.7-head
rvm install 1.8.7-head
And receive such error
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.