ruby-on-rails – 运行rvm要求时出错

栏目: Ruby · 发布时间: 6年前

内容简介:翻译自:https://stackoverflow.com/questions/15670718/error-when-run-rvm-requirements

我跟着

this tutorial

在ubuntu 12.04上安装rvm

当运行rvm要求时,我收到以下消息

Installing requirements for ubuntu, might require sudo password.
Running 'apt-get --quiet --yes update' would require sudo.
Cowardly refusing to continue, please read 'rvm autolibs'.
Updating repositories
Missing required packages: libgdbm-dev, libffi-dev.
Cowardly refusing to continue, please read 'rvm autolibs'.

运行rvm install 1.9.3时我得到了相同的消息

有人可以帮忙吗?

谢谢.

有时官方文档比博客更可靠.看一下 rvm

文档.来自博客安装rvm的命令是:

curl -L get.rvm.io | bash -s stable

官方文件建议一个:

\curl -L https://get.rvm.io | bash -s stable --autolibs=3 --rails

这可能会解决你使用autolibs的问题,就像在 that question 中发生的那样.

翻译自:https://stackoverflow.com/questions/15670718/error-when-run-rvm-requirements


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

REST in Practice

REST in Practice

Jim Webber、Savas Parastatidis、Ian Robinson / O'Reilly Media / 2010-9-24 / USD 44.99

Why don't typical enterprise projects go as smoothly as projects you develop for the Web? Does the REST architectural style really present a viable alternative for building distributed systems and ent......一起来看看 《REST in Practice》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试