hashicorp/vagrant · error · Vagrant::Errors::BundlerError
Vagrant failed to properly resolve required dependencies. Th
Error message
Vagrant failed to properly resolve required dependencies. These
errors can commonly be caused by misconfigured plugin installations
or transient network issues. The reported error is:
%{message} What it means
Error "Vagrant failed to properly resolve required dependencies. These errors can commonly be caused by misconfigured plugin installations or transient network issues. The reported error is: %{message}" thrown in hashicorp/vagrant.
Source
Thrown at lib/vagrant/plugin/manager.rb:195
end
# After install clean plugin gems to remove any cruft. This is useful
# for removing outdated dependencies or other versions of an installed
# plugin if the plugin is upgraded/downgraded
Vagrant::Bundler.instance.clean(installed_plugins, local: !!opts[:local])
result
rescue Gem::GemNotFoundException
raise Errors::PluginGemNotFound, name: name
rescue Gem::Exception => err
@logger.warn("Failed to install plugin: #{err}")
@logger.debug("#{err.class}: #{err}\n#{err.backtrace.join("\n")}")
# Try and determine a cause for the failure
case err.message
when /install development tools first/
raise Errors::PluginNeedsDeveloperTools
when /library not found in default locations/
lib = err.message.match(/(\w+) library not found in default locations/)
if lib.nil?
raise Errors::BundlerError, message: err.message
end
raise Errors::PluginMissingLibrary,
library: lib.captures.first,
name: name
when /find header files for ruby/
raise Errors::PluginMissingRubyDev
else
raise Errors::BundlerError, message: err.message
end
end
# Uninstalls the plugin with the given name.
#
# @param [String] name
def uninstall_plugin(name, **opts)
if @system_file
if !@user_file.has_plugin?(name) && @system_file.has_plugin?(name)
raise Errors::PluginUninstallSystem,View on GitHub (pinned to 35f3160f4a)
When it happens
Trigger: Thrown at lib/vagrant/plugin/manager.rb:195 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of hashicorp/vagrant@35f3160f4a (2026-08-21).
Data as JSON: /api/errors/a88420b1655c3dfe.
Report an issue: GitHub.