首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我不能使用rvm在Ubuntu中安装morden

我不能使用rvm在Ubuntu中安装morden
EN

Stack Overflow用户
提问于 2016-08-18 22:57:27
回答 1查看 137关注 0票数 0

我使用RVM来安装ruby2.2.0,rvm install 2.2.0 --disable-binary,但是我得到了错误:

代码语言:javascript
复制
  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.

我不知道该怎么修?有人遇到过这个问题吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-08-18 23:20:11

试试这个:

代码语言:javascript
复制
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的最新版本或所需版本。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39021457

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档