rvm要求出错

时间:2014-04-05 11:55:39

标签: ruby-on-rails ruby rvm failed-installation

我按照本指南安装Ruby on Rails。 https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm

当我执行rvm要求时,我收到此错误:

$ rvm requirements
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system...................
Error running 'requirements_debian_update_system ',
showing last 15 lines of /home/icts/.rvm/log/1396698452/update_system.log
+ case "${TERM:-dumb}" in
+ case "$1" in
+ [[ -t 2 ]]
+ return 1
+ printf %b 'There has been error while updating '\''apt-get'\'', please give it some time and try again later.
For 404 errors check your sources configured in:
    /etc/apt/sources.list
    /etc/apt/sources.list.d/*.list
\n'
There has been error while updating 'apt-get', please give it some time and try again later.
For 404 errors check your sources configured in:
    /etc/apt/sources.list
    /etc/apt/sources.list.d/*.list

+ return 100
Requirements installation failed with status: 100.

任何人都可以帮我解决我的错误吗?

2 个答案:

答案 0 :(得分:0)

尝试使用此link中提到的步骤,您就可以在debian上安装rvm。

答案 1 :(得分:0)

您似乎必须让RVM不再安装所需的库并自行完成。有关详细信息,请参阅this answer。如您所知,每个版本的ubuntu都是独一无二的。您可能想要像第一次那样尝试12.04的解决方案。您可能还想先运行rvm get stable并指定一个稳定版本的ruby,除非您有其他想法。