在ubuntu上安装ruby需求

时间:2016-05-25 09:10:42

标签: ruby ubuntu jekyll

我正在尝试http://sharadchhetri.com/2014/06/30/install-jekyll-on-ubuntu-14-04-lts/

的安装步骤
linux@ubuntu:~$ rvm requirements

Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system...................
Error running 'requirements_debian_update_system ',
showing last 15 lines of /home/jobi/.rvm/log/1464166761/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.
404 errors should be fixed for rvm to proceed. 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.
404 errors should be fixed for rvm to proceed. Check your sources configured in:
    /etc/apt/sources.list
    /etc/apt/sources.list.d/*.list

+ return 100
Requirements installation failed with status: 100.

为什么上述步骤失败..请帮忙

1 个答案:

答案 0 :(得分:1)

它失败的命令是可以从命令行运行的命令:

sudo apt-get update

如果失败了,那么你需要研究一下,这根本不是rvm或Ruby问题。

我会这样做,然后再次尝试rvm requirements