Rvm installs 1.8.7-head errors in centos 5.5

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.

+3
source
3

()

/etc/pki/tls/certs/ca-bundle.crt// /

curl http://curl.haxx.se/ca/cacert.pem -o/etc/pki/tls/certs/ca-bundle.crt

rvm install 1.8.7-head

Ruby :/usr/local/rvm/rubies/ruby-1.8.7-head, CPU ()...

ruby-1.8.7-head - #fetching HEAD 61ac67c 31731: 31734: https://github.com/ruby/ruby * branch ruby_1_8_7 → FETCH_HEAD . src... autoreconf : 'autoreconf', , /usr/local/rvm/log/ruby -1.8.7-head/autoreconf.log. : , "configure" , autoreconf ? ruby-1.8.7-head - #compiling : 'make', , /usr/local/rvm/log/ruby -1.8.7-head/make.log. : make . .

+4

Ubuntu 11.04 apt-get install automake .

+2

" rvm" , , . , libssl-dev, .

0

All Articles