I've installed Vagrant, Vagrant init worked fine. When I now run Vagrant up I get this error:
The executable 'cygpath' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.
Im using cygwin as terminal and I have windows 8, and I've placed C:\cygwin64\bin
in my PATH in envoirment variables.
My question is, why do I get this error message when I've specified the path to my cygwin bin?
Thanks!
My soultion was to create a small wrapper script, vagrant.bat
:
@setlocal
@set PATH=C:\HashiCorp\Vagrant\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
@vagrant %*
@endlocal
The vagrant.bat
file is in a directory that is first in my PATH
.
I am assuming you have Cygwin installed, simply add the path to cygwin (usually c:\cygwin\bin\cygwin.exe) to your shells %path% variable and you should be ready to go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With