Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error when run rvm requirements

I followed this tutorial to install rvm on ubuntu 12.04 when run rvm requirements, I got the following message

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'.

I got same message when run rvm install 1.9.3

Can anyone help?

Thanks.

like image 232
user2217658 Avatar asked Mar 27 '13 22:03

user2217658


People also ask

Can we install RVM in Windows?

RVM supports most UNIX like systems and Windows (with Cygwin or Bash on Ubuntu on Windows). The basic requirements are bash , curl , gpg2 and overall GNU version of tools - but RVM tries to autodetect it and install anything that is needed.

Which is better RVM or Rbenv?

RVM is easier to install than Rbenv, RVM has more features than Rbenv, RVM includes a built-in Ruby installation mechanism while Rbenv does not.

Is RVM deprecated?

Is RVM deprecated? ∞RVM Packages This functionality has been deprecated by autolibs which is now enabled by default, however if you still need it - it is there.


1 Answers

Sometimes the official documentation it's more reliable than a blog. Take a look at the rvm documentation. The command from the blog to install rvm is:

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

and the official documentation recommend that one:

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

Probably this will solve your problems with autolibs, the same that was happening for example in that question .

like image 164
Pigueiras Avatar answered Sep 21 '22 07:09

Pigueiras