Created
April 24, 2012 20:49
-
-
Save tjk/2483595 to your computer and use it in GitHub Desktop.
rvm install 1.9.3 [error]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~/workspace/website]$ rvm install 1.9.3 [master][] | |
Installing Ruby from source to: /home/tj/.rvm/rubies/ruby-1.9.3-rc1, this may take a while depending on your cpu(s)... | |
ruby-1.9.3-rc1 - #fetching | |
ruby-1.9.3-rc1 - #extracting ruby-1.9.3-rc1 to /home/tj/.rvm/src/ruby-1.9.3-rc1 | |
ERROR: Error running 'tar xjf /home/tj/.rvm/archives/ruby-1.9.3-rc1.tar.bz2 -C /home/tj/.rvm/tmp/rvm_src_12519', please read /home/tj/.rvm/log/ruby-1.9.3-rc1/extract.log | |
ERROR: There has been an error while trying to extract the source. | |
Halting the installation. | |
ERROR: There has been an error fetching the ruby interpreter. Halting the installation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~/workspace/website]$ tail /home/tj/.rvm/log/ruby-1.9.3-rc1/extract.log [master][] | |
[2012-04-24 13:45:06] tar xjf /home/tj/.rvm/archives/ruby-1.9.3-rc1.tar.bz2 -C /home/tj/.rvm/tmp/rvm_src_12519 | |
bzip2: (stdin) is not a bzip2 file. | |
tar: Child returned status 2 | |
tar: Error is not recoverable: exiting now |
…where "upgrade" maybe means rvm get stable
in the future, but probably means rvm get head
today (which installed 1.15.8, which in turn managed to fetch and install 1.9.3.
Similar issues happen on mac now with rvm 1.8.5, as it tries to fetch https://rvm.beginrescueend.com/src/ruby-1.9.3-rc1.tar.bz2 (which uses an untrusted SSL cert to redirect to the root url of https://rvm.io/):
% rvm version rvm 1.8.5 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/] % rvm install 1.9.3 --with-gcc=clang Installing Ruby from source to: /Users/johan/.rvm/rubies/ruby-1.9.3-rc1, this may take a while depending on your cpu(s)... ruby-1.9.3-rc1 - #fetching ruby-1.9.3-rc1 - #downloading ruby-1.9.3-rc1, this may take a while depending on your connection... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. ERROR: There was an error, please check /Users/johan/.rvm/log/ruby-1.9.3-rc1/*.log. Next we'll try to fetch via http. Trying http:// URL instead. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. ERROR: There was an error, please check /Users/johan/.rvm/log/ruby-1.9.3-rc1/*.log ERROR: There has been an error while trying to fetch the source. Halting the installation. ERROR: There has been an error fetching the ruby interpreter. Halting the installation. %
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I also get this error on OS X Lion, and I tried installing the head revision of rvm(which installed fine) but still get this error. ruby-1.9.3-head installs fine however.