无法在Mountain Lion上使用RVM安装OpenSSL包



我在全新安装的Mountain Lion上设置了RVM、Rails等。我遵循指南"如何安装Xcode, Homebrew, Git, RVM, &Ruby 1.9.3 on Snow Leopard, Lion, and Mountain Lion".

用Ruby(1.9.3)安装RVM后,我做了一个rvm requirement,似乎我应该使用Homebrew安装apple-gcc42:

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

当我到达OpenSSL包安装时,我得到以下错误,不知道如何继续:

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

指定日志文件的内容如下所示,可能是因为OpenSSL存档已被丢弃:

[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

我使用hombrew安装opensll.

brew install openssl

如果这不起作用,请查看此链接以获取答案。

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

相关内容

  • 没有找到相关文章

最新更新