Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I generally avoid the hosted Ruby repos and install RVM manually but I notice there's an RVM repo in Ubuntu Software Center now. Has anyone used it? Would I be better off continuing to install RVM manually?

I expect that, like RVM, it installs into the home directory as opposed to one that requires sudo access.

share|improve this question
up vote 4 down vote accepted

Well, I went ahead and installed ruby-rvm from ubuntu software center, and I can now advise STRONGLY against doing this.

RVM is supposed to install to the home directory (i.e. home/stephen), but the canonical hosted version installs to /usr, which means you need to sudo before you can install gems and so on.

I have removed ruby-rvm using apt, but am now unable to install RVM the proper way (i.e. using curl from command line) and I get an error stating that I need root privileges to write anything to /usr. What a joke, obviously the hosted version that I have removed, has set some kind of flag which now instructs all future rvm commands to work out of usr/share/ruby-rvm.

I have actually removed Ubuntu 11.10 altogether now because I just can't get used to this Unity crap. Trying Lubuntu out instead for now.

share|improve this answer

Installing ruby-rvm from the Ubuntu Software is not recommended.

The best way to do it is use the railsready script by joshfng.

Run the following in your terminal:

wget --no-check-certificate && bash

It will ask you if you want to install a system wide ruby, or if you want to do RVM.

It will ask you for your password so it can install the dependencies, then it will install ruby 1.9.3 (at time of writing).

It will also install the stable branch of rvm.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.