Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Difference between rvm, vm and rbenv

Hi Guys,

For the past few days i've REEEAAALLLLY been struggling to install ruby and ruby on rails.

I'm on the rails track and I uninstalled rvm because the videos suggested rbenv but its been uphill since using rbenv. I've looked for advice from several forums with little progress. What I want to know is what the difference is between rbenv and rvm and will I fall behind or be at a disadvantage if I use rvm instead of rbenv on the rails?

I also find that rvm is more widely used than rbenv so i can get more support if something is not working and I need to refer to forums such as stackoverflow.

vm... i'm not very familiar with it, it doesn't come across as being widely used. Will I have to uninstall it if I stop paying Treehouse?

Thoughts?

I look forward to getting your thoughts.

3 Answers

The only thing you really use rvm/rbenv for is installing and managing ruby versions.

As far as the rails track goes, once you have your ruby installed, you won't use rvm/rbenv after that (unless you want to change which version of ruby you are running etc). If rbenv is giving you grief but rvm worked fine, I would switch back to rvm.

It won't make a difference which one you use after you get ruby installed

A vm is entirely unrelated to rvm and rbenv.

A vm is short for virtual machine, an OS running in an isolated environment, it's basically a computer inside of a file. Treehouse made a VM that comes with ruby on rails already step up.

It would have been nice for the teacher to say that one can use either rvm or rbenv but that the videos would only show the installation of one and not the other.