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 Installing a Ruby Development Environment Installing a Ruby Development Environment Installing the Treehouse VM on Windows

Why?

Not trolling. I just want to know why we use the virtual machine. I get that it runs the rails app but why not just run it on our own machine? Why the extra step?

1 Answer

Kevin Korte
Kevin Korte
28,149 Points

Makes it really easy to set up multiple environments on the same machine, which might be common in a professional setting. You might need to work in ruby 2.0 on one app and ruby 1.9 in another.

Also, you're not actually installing anything on your "main" computer, so if something goes horribly wrong, you can destroy the box and restart, and since you weren't' actually modifying your main machine, there is no harm.