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.
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.
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? ∞RVM Packages This functionality has been deprecated by autolibs which is now enabled by default, however if you still need it - it is there.
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 .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With