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

Nathan Pierce
Nathan Pierce
4,482 Points

What's the point of running the treehouse vagrant VM (which binds to :3000)?

This might be because I'm new to the tutorial, but when I go through the tutorial video at http://teamtreehouse.com/library/installing-a-ruby-development-environment/installing-a-ruby-development-environment/installing-the-treehouse-vm-on-mac, I try and run bin/rails server and it says the vagrant VM is already bound to the :3000 port. Really really confusing. I have to halt vagrant to do anything.

Just not seeing the purpose of the VM... Can someone clarify?

1 Answer

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

You can choose - using a VM or installing the whole environment on your own and ignoring the VM. I never used the VM, so I have no idea how it works and how to solve that problem (I'm not sure why they didn't make a VMWare machine, it would be much easier to use), so I will always recommend setting up your own environment, since in the future you will have to know how to do these things.

Nathan Pierce
Nathan Pierce
4,482 Points

Thanks, I'm used to setting up my own environment. I'll just stick to that.