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 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,868 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!