Stubbs / sublime-vagrant

Vagrant commands for Sublime Text
43 stars 4 forks source link

PATH is (probably) ignored when interacting with Vagrant #24

Closed robertrossmann closed 9 years ago

robertrossmann commented 9 years ago

I use the Parallels Desktop provider for Vagrant. This provider requires access to prlctl, which is a commandline manager for Parallels VMs.

However, when I try to check the status of my VM via vagrant status from the command pallete, I get the following error to the Sublime console:

/usr/bin/vagrant status
The provider 'parallels' that was requested to back the machine
'top-secret' is reporting that it isn't usable on this system. The
reason is shown below:

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

However, from my Terminal, I see prlctl as being available and working with Vagrant and Parallels from Terminal works as usual:

which prlctl
/usr/local/bin/prlctl

Unfortunately I cannot help with a PR as I do not speak Python.:(

Let me know if I can provide additional information. Thanks for your help!

Host OS: Darwin Air.local 14.3.0 Darwin Kernel Version 14.3.0

robertrossmann commented 9 years ago

This has been fixed in the recent version of the Parallels provider plugin for Vagrant.