4

Having used VirtualEnv before, I'm wondering whether RVM is essentially the exact same action, of creating unique environments where updating dependencies won't break various projects, or if it departs in some ways.

2 Answers 2

7

At the basics, they are very similar: they provide a mean for you to have a "jailed" environment with the libraries you need in your project without installing them in the "host" environment.

RVM however provides something called gemsets which I think doesn't have an equivalent in Virtualenv (the idea of grouping a set of libraries under a common name).

Also, there's some integration with the shell you can do with RVM (called RVMRC files) so that when you change directory to a RVM-based project, it will auto-load the right version of ruby and the libraries for your project.

Sign up to request clarification or add additional context in comments.

1 Comment

you are making this complex!
1

RVM is similar to virtualenvwrapper

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.