gpt4 book ai didi

ruby - 无法使用 RVM 安装 Ruby

转载 作者:太空宇宙 更新时间:2023-11-03 16:31:02 24 4
gpt4 key购买 nike

我正在使用内核 2.6.32-028stab101.1 运行 Debian Wheezy

我刚刚安装了 RubyRVM。当前安装的版本是

ruby 1.9.3p194(2012-04-20 修订版 35410)[x86_64-linux]

但是,我的当前代码需要版本 1.8.7-p371

我尝试运行 rvm install ruby​​-1.8.7-p371,但只得到以下输出:

Searching for binary rubies, this might take some time.
No binary rubies available for: debian/7.0/x86_64/ruby-1.8.7-p371.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for debian, might require sudo password.
Hit http://plex.r.worldssl.net lucid Release.gpg
Hit http://plex.r.worldssl.net lucid Release
Hit http://www.plexapp.com lucid Release.gpg
Hit http://plex.r.worldssl.net lucid/main amd64 Packages
Hit http://www.plexapp.com lucid Release
Hit http://ftp.us.debian.org sid Release.gpg
Hit http://www.plexapp.com lucid/main amd64 Packages
Hit http://ftp.us.debian.org sid Release
Hit http://ftp.us.debian.org sid/main amd64 Packages/DiffIndex
Hit http://debian.intergenia.de squeeze Release.gpg
Hit http://debian.intergenia.de squeeze/updates Release.gpg
Ign http://plex.originet.eu stable Release.gpg
Hit http://ftp.us.debian.org sid/main Translation-en/DiffIndex
Hit http://debian.intergenia.de squeeze Release
Ign http://plex.originet.eu stable Release
Ign http://plex.originet.eu stable/main amd64 Packages/DiffIndex
Ign http://www.plexapp.com lucid/main Translation-en_US
Hit http://debian.intergenia.de squeeze/updates Release
Ign http://www.plexapp.com lucid/main Translation-en
Hit http://debian.intergenia.de squeeze/main Sources
Hit http://debian.intergenia.de squeeze/contrib Sources
Hit http://debian.intergenia.de squeeze/non-free Sources
Hit http://debian.intergenia.de squeeze/main amd64 Packages
Hit http://debian.intergenia.de squeeze/contrib amd64 Packages
Hit http://debian.intergenia.de squeeze/non-free amd64 Packages
Hit http://debian.intergenia.de squeeze/updates/main Sources
Hit http://debian.intergenia.de squeeze/updates/contrib Sources
Hit http://debian.intergenia.de squeeze/updates/non-free Sources
Hit http://debian.intergenia.de squeeze/updates/main amd64 Packages
Ign http://plex.r.worldssl.net lucid/main Translation-en_US
Ign http://plex.r.worldssl.net lucid/main Translation-en
Hit http://debian.intergenia.de squeeze/updates/contrib amd64 Packages
Ign http://plex.originet.eu stable/main Translation-en_US
Hit http://debian.intergenia.de squeeze/updates/non-free amd64 Packages
Ign http://plex.originet.eu stable/main Translation-en
Err http://plex.originet.eu stable/main amd64 Packages
404 Not Found
Ign http://debian.intergenia.de squeeze/updates/contrib Translation-en_US
Ign http://debian.intergenia.de squeeze/updates/contrib Translation-en
Ign http://debian.intergenia.de squeeze/updates/main Translation-en_US
Ign http://debian.intergenia.de squeeze/updates/main Translation-en
Ign http://debian.intergenia.de squeeze/updates/non-free Translation-en_US
Ign http://debian.intergenia.de squeeze/updates/non-free Translation-en
W: Failed to fetch http://plex.originet.eu/dists/stable/main/binary-amd64/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

我尝试安装 readline , 运行 rvm mount, 插入

[[ -s "$HOME/.rvm/scripts/rvm"]] && 。 “$HOME/.rvm/scripts/rvm”

在我的 .zshrc 中,但没有任何效果。

知道我遗漏了什么吗?

最佳答案

问题出在您的 apt 主机列表中,而不是在 RVM 中。

从您的 /etc/apt/sources.list 文件中删除损坏的主机,您应该没问题:)

关于ruby - 无法使用 RVM 安装 Ruby,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15927020/

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