Can't get vagrant integration working
Hi All,
I've been banging my head against this for a few days. Everything looks fine but I can't get the vagrant integration working.
Vagrant is installed;
-> % vagrant -v
Vagrant 2.1.2
Virtualbox is installed;
-> % virtualbox --help
Oracle VM VirtualBox Manager 5.2.16
(C) 2005-2018 Oracle Corporation
All rights reserved.
My path to vagrant is correct and not to the vagrantfile
/usr/local/bin/vagrant
My box is configured
geerlingguy/ubuntu1604 virtualbox, 1.2.1
both vagrant and virtualbox (and vboxmanage) are on the PATH
When I click Tools > Vagrant > Reload, I get;
/usr/local/bin/vagrant reload
The provider 'virtualbox' that was requested to back the machine
'clubgrants' 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.
Process finished with exit code 1
But, if I open the PHPStorm terminal and paste the command in there, it works ...
-> % /usr/local/bin/vagrant reload
==> clubgrants: [vagrant-hostsupdater] Removing hosts
Password:
I have tried correct casing, I've tried full exec path to vbox, I've tried installing plugins, re-installing vbox from the site (and not brew) and re-installing vagrant from the site.
It refuses to work.
Any help would be very appreciated, thanks.
Christian
Please sign in to leave a comment.