gpt4 book ai didi

ruby-on-rails - RVM 安装 Ruby 失败

转载 作者:太空宇宙 更新时间:2023-11-03 18:17:50 28 4
gpt4 key购买 nike

我正在尝试通过 RVM 安装较旧的 Ruby 版本,但安装失败并出现我以前从未见过的错误。我已经更改了 rvm_max_time_flag 但它没有帮助。我可以在这里做什么?

rvm install 1.9.3p484
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.9/x86_64/ruby-1.9.3p484.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/nandersen/.rvm/rubies/ruby-1.9.3p484, this may take a while depending on your cpu(s)...
ruby-1.9.3p484 - #downloading ruby-1.9.3p484, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
The requested url does not exist(22): 'http://cache.ruby-lang.org/pub/ruby/./ruby-1.9.3p484.tar.bz2'
Checking fallback: http://ftp.ruby-lang.org/pub/ruby/./ruby-1.9.3p484.tar.bz2
Checking fallback: http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby/./ruby-1.9.3p484.tar.bz2
No fallback URL could be found, try increasing timeout with:

echo "export rvm_max_time_flag=20" >> ~/.rvmrc

There has been an error fetching the ruby interpreter. Halting the installation.

最佳答案

1) 确保您使用的是最新的 RVM
rvm 得到头
2)然后安装新的ruby
rvm 安装 ruby​​-2.3

关于ruby-on-rails - RVM 安装 Ruby 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23339379/

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