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

Development Tools Installing a Ruby Development Environment Installing a Ruby Development Environment Installing the Treehouse VM on Mac

Cant get into virtual machine

When I install treehouse machine it asks me for a password. I tried mikethefrog but that didn't work. The video does not mention needing a password.

The password is treehouse i had to try multiple passwords and found it. Hope that helps

2 Answers

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

Okay, but John, please keep in mind that, if getting the VM up and running is too troublesome, there're other options too. Vagrant VM isn't mandatory for the courses.

Other options included:

  1. You can install Ruby + Rails natively on your Mac.
  2. Use a Cloud-base IDE.

I've been coding more and more on a Cloud-base IDE on my Chromebook these days, and it's been a great experience.

Here're some of the great ones, check them out if you're interested.

Thanks William .. in the end I looked at all of the above and decided to give Nitrous.io a try and you know what?.. it works great! I am able to install all the extra gems needed for the todo list course and I didn't need to go through the long process again of setting up the rails environment (which I have done twice now, once for mac and once for Ubuntu) Plus (and this is the best part) when I am at work or at home I can login to Nitrous and work on my stuff without the hassle of incompatible environments - this was my original problem which was why I was exploring the virtual box approach.

William Li
William Li
Courses Plus Student 26,868 Points

Very good, John, glad you find the Nitrous.io useful. And you're right, being able to access the codes from anywhere using just a web browser is a killer feature; plus Cloud IDE allows you to collaborate effortlessly with other people on the same code via real-time pair programming + online chat. I believe that's how the future of web development process is going to be, write code for the cloud using the cloud :)

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

Hi, John, can you be a little more specific? On which step you were prompted to enter a password?

Sure - I am on a MAC, and I am at the terminal prompt trying to launch the virtual machine using vagrant, so I try to login with:

vagrant ssh

and it prompts me for a password treehouse@127.0.0.1's password: ???

William Li
William Li
Courses Plus Student 26,868 Points

that's odd, vagrant ssh shouldn't require password. Give me a moment, let me check the vm.

Yes, I think that's it. When I reset / reboot the virtual machine in Virtual Box, I can see it startup in the preview screen and then it stops at the login screen

William Li
William Li
Courses Plus Student 26,868 Points

Geez, the download is very slow, it's gonna take hours to finish, so I can't test out the vm for now.

But, check out this post https://teamtreehouse.com/forum/when-i-type-vagrant-up-i-get-an-authentication-error see if the solution fix the problem you're having.

I should also add, William that I tried to install the "Building A Simple Rails Application" VM

Now I am going to try the "Build A Todo list" Application VM and see if I have better luck