Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Can't get past Ubuntu startup screen on Treehouse VM for Rails.

I'm working on "Installing a Ruby Development Environment" for windows. I'm to the place where I type "vagrant ssh", but notice a Ubuntu startup screen (four or fives choices you can select) in the Virtual Box GUI. Normally I would choose Ubuntu and hit enter. Not sure how to get past this in the virtual machine GUI or the command line.

Thanks for any help.

1 Answer

Michael Hulet
Michael Hulet
47,893 Points

The Treehouse VM doesn't have a GUI, and you don't ever directly launch VirtualBox yourself. You interact with it entirely from the command line. In order to start it up, you navigate to the directory of its Vagrantfile in your Command Prompt, then enter the following command:

vagrant up

It will then start up the VM for you, but no GUI will appear to interact with it. Once it says it's done starting up, and you can enter another command, enter this:

vagrant ssh

That will automatically log you into the Treehouse VM, and any further commands you send will be sent to the Treehouse VM, and not your computer. When you're done working with the VM, this will shut it down:

vagrant halt

Thanks for your response. I don't think I was clear though. I understand about the command line. Where I see the Ubuntu screen is in the little preview on the Virtual Box. So I have the command line open in one window and see what's happening in the Virtual Box. Typing into the command lines the instructions you mentioned stalls out.

Michael Hulet
Michael Hulet
47,893 Points

Sorry for not being on Treehouse in a while, so I'm just getting back to you.

Anyway, you should never see VirtualBox at all. Period. You shouldn't open it, and neither should Vagrant. If you're doing it right, you should only ever see the command line interface of Vagrant. Try not opening VirtualBox, and see what happens