5

当我使用 RVM 安装 Ruby 时,这会显示在我的终端会话中:

ks@ks-mba ~ $ rvm reinstall 1.9.3 --with-readline-dir=$rvm_path/usr
Removing /Users/ks/.rvm/src/ruby-1.9.3-p429... - using ZSH, can not show progress, be patient...
Removing /Users/ks/.rvm/rubies/ruby-1.9.3-p429... - using ZSH, can not show progress, be patient...
Installing requirements for osx, might require sudo password.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Installing Ruby from source to: /Users/ks/.rvm/rubies/ruby-1.9.3-p429, this may take a while depending on your cpu(s)...
ruby-1.9.3-p429 - #downloading ruby-1.9.3-p429, this may take a while depending on your connection...
ruby-1.9.3-p429 - #extracting ruby-1.9.3-p429 to /Users/ks/.rvm/src/ruby-1.9.3-p429 - using ZSH, can not show progress, be patient...
ruby-1.9.3-p429 - #extracted to /Users/ks/.rvm/src/ruby-1.9.3-p429
ruby-1.9.3-p429 - #configuring - using ZSH, can not show progress, be patient...
ruby-1.9.3-p429 - #compiling - using ZSH, can not show progress, be patient...
ruby-1.9.3-p429 - #installing  - using ZSH, can not show progress, be patient...
Retrieving rubygems-1.8.25
Extracting rubygems-1.8.25 ...
Removing old Rubygems files...
Installing rubygems-1.8.25 for ruby-1.9.3-p429.....................
Installation of rubygems completed successfully.
Saving wrappers to '/Users/ks/.rvm/wrappers/ruby-1.9.3-p429'...........
 - using ZSH, can not show progress, be patient...
ruby-1.9.3-p429 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-p429 - #importing default gemsets, this may take time - using ZSH, can not show progress, be patient...

安装就在这里停止了。

4

1 回答 1

0

我遇到过同样的问题。它永远挂着。但是,我在代理设置正确的代理后面,但似乎 gemset 导入需要另一个设置。我通过在安装过程中切换到非代理 wifi 来解决。之后它立即继续。

于 2013-08-13T09:05:39.053 回答