gpt4 book ai didi

ruby - 为什么 RVM 卡在 "#importing default gemsets, this may take time"上?

转载 作者:数据小太阳 更新时间:2023-10-29 07:19:52 25 4
gpt4 key购买 nike

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

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...

安装到这里就停止了。

最佳答案

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

关于ruby - 为什么 RVM 卡在 "#importing default gemsets, this may take time"上?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17183563/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com