1

我将 OS_X 更新到 10.9,并且 ruby​​ 套接字 I/O 库有问题(无法连接到端口)。这是一个非常奇怪的问题,因为所有配置参数都设置正确。所以我认为可能是 OS_X 10.9(或更新的 Xcode)兼容性问题。

我为刚刚更新的 Xcode 安装命令行工具。(没有它是不可能安装 ruby​​ 的)。

我已经成功地重新安装了 ruby​​ 1.9.3。但是当我尝试重新安装我的 gem 环境时,我看到一个错误:


ruby-1.9.3-p448 - #installing.........................................................................................................
Retrieving rubygems-2.0.13
There is no checksum for 'http://production.cf.rubygems.org/rubygems/rubygems-2.0.13.tgz' or 'rubygems-2.0.13.tgz', it's not possible to validate it.
This could be because your RVM install's list of versions is out of date. You may want to
update your list of rubies by running 'rvm get stable' and try again.
If that does not resolve the issue and you wish to continue with unverified download
add '--verify-downloads 1' after the command.

There has been an error while trying to fetch rubygems. 
Halting the installation.

在这种情况下我需要做什么?我的宝石组的“验证”是什么意思?为什么我的宝石过期了?

请帮助我理解它。

4

1 回答 1

1

我在终端“rvm get stable”中运行以获得稳定的 rvm。成功完成,酷。并尝试重新安装 ruby​​ 1.9.3 第二次没有错误

在这里我有一个警告:

Warning: found user selected compiler '/usr/local/opt/apple-gcc42/bin/gcc-4.2', this will suppress RVM auto detection mechanisms.

现在它为我安装了最新的 ruby​​gems-2.1.10(不是 2.0.13)。

新错误^_^:

Error running '__rvm_with ruby-1.9.3-p448 /Users/bmalets/.rvm/scripts/gemsets pristine',
please read /Users/bmalets/.rvm/log/1383094697_ruby-1.9.3-p448/gemset.pristine-ruby-1.9.3-p448.log

我浏览我的 rails3/ruby1.9.3 项目并运行它。乍一看,它工作正常。

所以,看起来更新成功了))))))

PS 我相信更新到新版本的 OS_X 不会像更新到 iOS 7 那样可怕。日历和笔记应用程序中的新 GUI 就像狗屎一样。我现在对苹果很失望:'(。

于 2013-10-30T01:13:29.327 回答