小编Mid*_*777的帖子

RVM - MacPorts不会通过代理更新

我正在尝试使用RVM在我的iMac上安装ruby.

我首先键入以下内容:

rvm list known
Run Code Online (Sandbox Code Playgroud)

然后,我使用以下行定位我要安装的版本(我正在遵循建议1.9.2而不是基础1.8.7的指南):

rvm install 1.9.2
Run Code Online (Sandbox Code Playgroud)

然后我明白了:

27698AM:~ butler15$ rvm install 1.9.2
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-1.9.2-p320.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for osx, might require sudo password.
Password:
Run Code Online (Sandbox Code Playgroud)

我输入密码,我得到了这个:

DEBUG: Copying /Users/butler15/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
--->  Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Operation timed out …
Run Code Online (Sandbox Code Playgroud)

ruby terminal rvm osx-lion

4
推荐指数
1
解决办法
4830
查看次数

标签 统计

osx-lion ×1

ruby ×1

rvm ×1

terminal ×1