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

Eli E
Eli E
10,142 Points

cmd help

The provider 'virtualbox' that was requested to back the machine 'default' is reporting that it isn't usable on this system. The reason is shown below:

Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed. Vagrant uses the VBoxManage binary that ships with VirtualBox, and requires this to be available on the PATH. If VirtualBox is installed, please find the VBoxManage binary and add it to the PATH environmental variable.

this showed up after i typed 'vagrant up' help me please.

2 Answers

I had virtualbox installed and running smoothly for 2 months but had the same error as Elijah. The issue is something to do with newer versions of VirtualBox not having the correct Windows Environment Variable to detect the installation path. Elijah, adding this Environment Variable resolved my issue and I was able to run vagrant up error free after following these steps;

GUI

    Right click on "This PC" / "My Computer" on windows desktop
    Select "Properties"
    Go to "Advanced" tab
    Click "Environment Variables..." at the bottom
    Under System Variables click "New..."
    Set "Variable name" to "VBOX_INSTALL_PATH"
    Set "Variable value" to "C:\Program Files\Oracle\VirtualBox\"
    Select "OK" and close all the other settings windows
William Li
William Li
Courses Plus Student 26,865 Points

Great, DJ, now we know what's going on with the issue here; I went ahead and mark your answer as the Best Answer, cheers.

Thanks William! Things are running smoothly now!