【问题标题】:Why is RVM stuck on "#importing default gemsets, this may take time"?为什么 RVM 卡在“#importing default gemsets,这可能需要时间”?
【发布时间】:2013-06-15 12:49:39
【问题描述】:

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

安装到这里就停止了。

【问题讨论】:

  • 它只是说be patient
  • 还有五个多小时,还在。
  • 时间长了,干掉它再试试吧?
  • 我试了三遍。
  • 为 rvm 打开一个问题 => github.com/wayneeseguin/rvm/issues

标签: ruby installation rvm


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-12-14
    • 2012-04-29
    • 2019-11-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多