Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install OpenSSL package with RVM on Mountain Lion

I'm setting up RVM, Rails, etc., on a clean install of Mountain Lion. I am following the guide "How to Install Xcode, Homebrew, Git, RVM, & Ruby 1.9.3 on Snow Leopard, Lion, and Mountain Lion".

After installing RVM with Ruby (1.9.3) I do a rvm requirement and it appears I should install apple-gcc42 using Homebrew:

Homebrew:

  If you are using Homebrew, you can install the apple-gcc42 and required libraries from homebrew/dupes:

      brew update
      brew tap homebrew/dupes
      brew install autoconf automake apple-gcc42
      rvm pkg install openssl

When I get to the OpenSSL package install I get the following error and don't know how to proceed:

marvin:~ george$ rvm --skip-autoreconf pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/george/.rvm/archives
######################################################################## 100.0%
Downloaded archive checksum did not match, archive was removed!
If you wish to continue with not matching download add '--verify-downloads 2' after the command.


Please note that it's required to reinstall all rubies:

    rvm reinstall all --force

Updating openssl certificates
Error running 'update_openssl_certs', please read /Users/george/.rvm/log/openssl.certs.log

The contents of the specified log file are as below, presumably because the OpenSSL archive has been discarded:

[2012-12-26 22:23:04] update_openssl_certs
/Users/george/.rvm/scripts/functions/support: line 139: cd: /Users/george/.rvm/usr/ssl: No such file or directory
like image 696
giorgio Avatar asked Nov 12 '22 14:11

giorgio


1 Answers

I used hombrew to install opensll.

brew install openssl

If that doesn't work check this link for answers.

http://railsapps.github.io/openssl-certificate-verify-failed.html

like image 139
Carlos Feliciano Barba Avatar answered Nov 15 '22 05:11

Carlos Feliciano Barba