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 `<top (required)>' from /usr/bin/vagrant:22:in `load' from /usr/bin/vagrant:22:in `<main>'
This commit is contained in:
parent
9493901e0c
commit
30ea15994a
|
@ -1,4 +1,5 @@
|
||||||
require 'optparse'
|
require 'optparse'
|
||||||
|
require 'securerandom'
|
||||||
|
|
||||||
module VagrantPlugins
|
module VagrantPlugins
|
||||||
module CommandPackage
|
module CommandPackage
|
||||||
|
|
Loading…
Reference in New Issue