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 installed the Heroku Toolbelt the other day, and it looks like Ruby was a requirement, so the package manager installed it for me. But I was planning to install Ruby through RVM. Will the two Rubys conflict?

share|improve this question

RVM allows you to install multiple versions of rubies and manage switching between them without the risk of conflicts between them.

To use any rvm build ruby:

rvm use 1.9.3

For getting back to system installed ruby:

rvm use system

This is equivalent to rvm reset which means - stop using any rvm installed ruby.

You can also tell rvm to "mount" system ruby, which will allow you creating gemsets with it:

rvm automount # OR:
rvm mount /path/to/ruby
share|improve this answer

Whenever you install something outside of your package manager (apt) there is the potential for problems. The most common problem would be overwriting a system library used by other applications causing conflicts or breakage. Alternately , libs used by Ruby could be over written when you update a program via apt-get.

There is a nice discussion on the advantages / disadvantages of a package manager here:

In general, use apt (apt-get) if at all possible. If there is a problem with the package in Ubuntu, report a bug, use a ppa, etc.

If all else fails, I advise you compile from source manually and watch for conflicts.

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.