sprotheroe / vagrant-disksize

Vagrant plugin to resize disks in VirtualBox
MIT License
479 stars 51 forks source link

Error during plugin installation #41

Open AlexandrSokolov opened 4 years ago

AlexandrSokolov commented 4 years ago

During vagrant up, the plugin is installed. Get the following error:

vagrant up Vagrant has detected project local plugins configured for this project which are not installed.

vagrant-disksize Install local plugins (Y/N) [N]: Y Installing the 'vagrant-disksize' plugin. This can take a few minutes... /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/environment.rb:1013: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/plugin/manager.rb:116: warning: The called method install_plugin' is defined here Traceback (most recent call last): 16: from /usr/bin/vagrant:23:in

' 15: from /usr/bin/vagrant:23:in load' 14: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/bin/vagrant:145:in<top (required)>' 13: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/bin/vagrant:145:in new' 12: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/environment.rb:178:ininitialize' 11: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/environment.rb:1004:in process_configured_plugins' 10: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/environment.rb:1004:ineach' 9: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/environment.rb:1013:in block in process_configured_plugins' 8: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/plugin/manager.rb:148:ininstall_plugin' 7: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/plugin/manager.rb:138:in block in install_plugin' 6: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/bundler.rb:143:ininstall' 5: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/bundler.rb:370:in internal_install' 4: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/bundler.rb:512:inactivate_solution' 3: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/bundler.rb:512:in each' 2: from /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/bundler.rb:515:inblock in activate_solution' 1: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1367:in activate' /usr/lib/ruby/2.7.0/rubygems/specification.rb:2235:incheck_version_conflict': can't activate vagrant-libvirt-0.1.2, already activated vagrant-libvirt-0.0.45 (Gem::LoadError)

Here is an issue on stackoverflow.com: Vagrant how to install 'vagrant-disksize' plugin

Vagrant version: 2.2.6

How can I fix it?