From 30ea15994adf673307150dd910761057f79cf673 Mon Sep 17 00:00:00 2001 From: "Raymond P. Burkholder" Date: Wed, 28 Dec 2016 19:02:13 -0400 Subject: [PATCH] Update command.rb Issue #8159 while using: $ vagrant package --base ${VIRTUALBOXNAME} this error occurs: /usr/share/rubygems-integration/all/gems/vagrant-1.9.0/plugins/commands/package/command.rb:59:in `package_base': uninitialized constant VagrantPlugins::CommandPackage::Command::SecureRandom (NameError) Did you mean? SecureRandom from /usr/share/rubygems-integration/all/gems/vagrant-1.9.0/plugins/commands/package/command.rb:42:in `execute' from /usr/share/rubygems-integration/all/gems/vagrant-1.9.0/lib/vagrant/cli.rb:42:in `execute' from /usr/share/rubygems-integration/all/gems/vagrant-1.9.0/lib/vagrant/environment.rb:274:in `cli' from /usr/share/rubygems-integration/all/gems/vagrant-1.9.0/bin/vagrant:118:in `' from /usr/bin/vagrant:22:in `load' from /usr/bin/vagrant:22:in `
' --- plugins/commands/package/command.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/commands/package/command.rb b/plugins/commands/package/command.rb index 5921f8cc5..947e5f222 100644 --- a/plugins/commands/package/command.rb +++ b/plugins/commands/package/command.rb @@ -1,4 +1,5 @@ require 'optparse' +require 'securerandom' module VagrantPlugins module CommandPackage