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

5
我正在干净安装Mountain Lion上设置RVM、Rails等。我正在遵循指南 "How to Install 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

我已经使用“--verify-downloads 2”选项运行了命令,并且似乎事情正在进行中。不过,我并不真正理解为什么需要这样做... - giorgio
下载的存档文件与最初上传的文件不同,并且无法通过校验和测试进行匹配。通常情况下这并不是什么大问题,但由于 OpenSSL 是关于加密的,您仍然需要小心谨慎。在大多数情况下,这个问题是由于更新的软件包引起的。 - three
请确保为 RVM 开一个工单 -> https://github.com/wayneeseguin/rvm/issues - mpapis
1个回答

1

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接