Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added "require 'nokogiri'" #287

Merged
merged 1 commit into from
Dec 22, 2016
Merged

Added "require 'nokogiri'" #287

merged 1 commit into from
Dec 22, 2016

Conversation

srstrong
Copy link
Contributor

Attempting to run 'vagrant package --output mybox.box' was failing with:

.vagrant.d/gems/2.2.5/gems/vagrant-parallels-1.7.2/lib/vagrant-parallels/action/export.rb:89:in block in convert_to_full': uninitialized constant VagrantPlugins::Parallels::Action::Export::Nokogiri (NameError) from /Users/steve/.vagrant.d/gems/2.2.5/gems/vagrant-parallels-1.7.2/lib/vagrant-parallels/action/export.rb:87:in each'
from /Users/steve/.vagrant.d/gems/2.2.5/gems/vagrant-parallels-1.7.2/lib/vagrant-parallels/action/export.rb:87:in convert_to_full' from /Users/steve/.vagrant.d/gems/2.2.5/gems/vagrant-parallels-1.7.2/lib/vagrant-parallels/action/export.rb:21:in call'
...

Adding in the 'require' solves the problem

Attempting to run 'vagrant package --output mybox.box' was failing with:

.vagrant.d/gems/2.2.5/gems/vagrant-parallels-1.7.2/lib/vagrant-parallels/action/export.rb:89:in `block in convert_to_full': uninitialized constant VagrantPlugins::Parallels::Action::Export::Nokogiri (NameError)
	from /Users/steve/.vagrant.d/gems/2.2.5/gems/vagrant-parallels-1.7.2/lib/vagrant-parallels/action/export.rb:87:in `each'
	from /Users/steve/.vagrant.d/gems/2.2.5/gems/vagrant-parallels-1.7.2/lib/vagrant-parallels/action/export.rb:87:in `convert_to_full'
	from /Users/steve/.vagrant.d/gems/2.2.5/gems/vagrant-parallels-1.7.2/lib/vagrant-parallels/action/export.rb:21:in `call'
	...

Adding in the 'require' solves the problem
@legal90
Copy link
Collaborator

legal90 commented Dec 22, 2016

@srstrong Thank you very much for the fix!

@legal90 legal90 merged commit 2ef2f55 into Parallels:master Dec 22, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants