为什么RVM卡在“#importing default gemsets上,这可能需要时间”?

时间:2013-06-19 05:36:27

标签: ruby install rvm

当我使用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...

安装刚刚停止。

1 个答案:

答案 0 :(得分:0)

我有同样的问题。它永远挂起。然而,我在代理设置正确的代理背后,但似乎gemset导入需要另一个设置。我在安装过程中切换到非代理wifi解决了问题。之后它会立即继续。