fusion plugin not working with uninitialized constant Vagrant (NameError)

137 views
Skip to first unread message

Simon Green

unread,
Nov 28, 2016, 5:47:07 PM11/28/16
to Vagrant
Hi,

I've just bought the Fusion plugin and it's not working for me.

Running:

vagrant init geerlingguy/ubuntu1404; vagrant up --provider vmware_fusion

Errors with:

/Users/simon/.vagrant.d/gems/gems/vagrant-vmware-fusion-4.0.15/bin/vagrant_vmware_desktop_sudo_helper:16:in `<encoded>': uninitialized constant Vagrant (NameError)
 from /Users/simon/.vagrant.d/gems/gems/vagrant-vmware-fusion-4.0.15/bin/vagrant_vmware_desktop_sudo_helper:44:in `
RGLoader_load'
 from /Users/simon/.vagrant.d/gems/gems/vagrant-vmware-fusion-4.0.15/bin/vagrant_vmware_desktop_sudo_helper:44:in `<main>'


Fresh installation of VMWare Fusion 8.5.2 and Vagrant 1.8.7

Here is the --debug output immediately following the curl to check the box is up to date:

 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00000101bc1270>
 INFO runner
: Preparing hooks for middleware sequence...
 INFO runner
: 1 hooks defined.
 INFO runner
: Running action: machine_action_up #<Vagrant::Action::Builder:0x00000101aa1200>
 INFO warden
: Calling IN action: VMware Middleware: Running
 INFO subprocess
: Starting process: ["/Applications/VMware Fusion.app/Contents/Library/vmrun", "list"]
DEBUG subprocess
: Command not in installer, not touching env vars.
 INFO subprocess
: Command not in installer, restoring original environment...
DEBUG subprocess
: Selecting on IO
DEBUG subprocess
: stdout: Total running VMs: 0
DEBUG subprocess
: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess
: Exit status: 0
DEBUG vmware
: VM state requested. Current state: not_running
 INFO warden
: Calling OUT action: VMware Middleware: Running
 INFO runner
: Preparing hooks for middleware sequence...
 INFO runner
: 1 hooks defined.
 INFO runner
: Running action: machine_action_up #<Vagrant::Action::Warden:0x00000102832c98>
 INFO warden
: Calling IN action: #<Proc:0x00000101dea830@/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden
: Calling IN action: VMware Middleware: PruneForwardedPorts
 INFO prune_forwarded_ports
: Pruning forwarded ports...
DEBUG environment
: Attempting to acquire process-lock: vmware-network
DEBUG environment
: Attempting to acquire process-lock: dotlock
 INFO environment
: Acquired process lock: dotlock
 INFO environment
: Released process lock: dotlock
 INFO environment
: Acquired process lock: vmware-network
 INFO subprocess
: Starting process: ["/Users/simon/.vagrant.d/gems/gems/vagrant-vmware-fusion-4.0.15/bin/vagrant_vmware_desktop_sudo_helper_wrapper_darwin_amd64", "prune-forwarded-ports", "/var/folders/7k/lgn577bj3cz8km_whdtw77k00000gn/T/vagrant-sudo-helper20161128-28661-gawo5k"]
DEBUG subprocess
: Command not in installer, not touching env vars.
 INFO subprocess
: Command is setuid/setgid, clearing DYLD_LIBRARY_PATH
DEBUG subprocess
: Selecting on IO
DEBUG subprocess
: stderr: /Users/simon/.vagrant.d/gems/gems/vagrant-vmware-fusion-4.0.15/bin/vagrant_vmware_desktop_sudo_helper:16:in `<encoded>': uninitialized constant Vagrant (NameError)
 from /Users/simon/.vagrant.d/gems/gems/vagrant-vmware-fusion-4.0.15/bin/vagrant_vmware_desktop_sudo_helper:44:in `
RGLoader_load'
 from /Users/simon/.vagrant.d/gems/gems/vagrant-vmware-fusion-4.0.15/bin/vagrant_vmware_desktop_sudo_helper:44:in `<main>'

Alvaro Miranda Aguilera

unread,
Nov 29, 2016, 12:12:07 AM11/29/16
to vagra...@googlegroups.com
hi

can you send an email to support @ hashicorp.com ?



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/30cf328c-a18a-4888-a573-3998c46cd8f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

crob...@hashicorp.com

unread,
Nov 29, 2016, 8:19:49 AM11/29/16
to Vagrant
Please try uninstalling the plugin, and installing again. It should resolve the issue.
Reply all
Reply to author
Forward
0 new messages