我使用RVM来安装ruby2.2.0,rvm install 2.2.0 --disable-binary,但是我得到了错误:
Error running 'requirements_debian_update_system ruby-2.2.0',
showing last 15 lines of /home/gaoyikang/.rvm/log/1471531667_ruby-2.2.0/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.我不知道该怎么修?有人遇到过这个问题吗?
发布于 2016-08-18 23:20:11
试试这个:
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev然后安装Ruby的最新版本或所需版本。
https://stackoverflow.com/questions/39021457
复制相似问题