简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM