【问题标题】:Error in rvm requirementsrvm 要求中的错误
【发布时间】:2014-05-17 19:34:34
【问题描述】:

我正在按照本指南安装 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.

谁能帮我解决我的问题?

【问题讨论】:

  • 您在为您的 debian 更新软件包时遇到问题,而不是在安装 rvm 时。
  • 好的。我明白那个。知道如何解决吗?
  • 你的ubuntu版本是多少? 12.04?
  • 运行sudo apt-get update

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


【解决方案1】:

看来您必须阻止 RVM 安装所需的库并自行完成。请参阅this answer 了解更多信息。如您所知,每个版本的 ubuntu 都是独一无二的。您可能想像第一次一样尝试 12.04 的解决方案。您可能还想先运行 rvm get stable 并指定一个稳定版本的 ruby​​,除非您有其他想法。

【讨论】:

    【解决方案2】:

    尝试link 中提到的步骤,您将能够在 debian 上安装 rvm。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-01-14
      • 2015-12-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-04
      • 2014-05-03
      • 2013-01-22
      相关资源
      最近更新 更多