无法在Mountain Lion上安装带有RVM的OpenSSL软件包

gio*_*gio 5 ruby openssl rvm ruby-on-rails-3 osx-mountain-lion

我在山狮的干净安装上设置了RVM,Rails等.我遵循指南" 如何在Snow Leopard,Lion和Mountain Lion上安装Xcode,Homebrew,Git,RVM和Ruby 1.9.3 ".

用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
Run Code Online (Sandbox Code Playgroud)

当我进入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
Run Code Online (Sandbox Code Playgroud)

指定日志文件的内容如下所示,可能是因为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
Run Code Online (Sandbox Code Playgroud)

Car*_*rba 1

我使用 hombrew 安装 opensll 。

brew install openssl
Run Code Online (Sandbox Code Playgroud)

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

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