{"record":{"id":"20ff012c2ccf8ffc","repo":"hashicorp/vagrant","slug":"vagrant-plugins-local-install-rerun-command","errorCode":null,"errorMessage":"vagrant.plugins.local.install_rerun_command","messagePattern":"vagrant\\.plugins\\.local\\.install_rerun_command","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/vagrant/environment.rb","lineNumber":1063,"sourceCode":"        end\n        needs_install.each do |name|\n          pconfig = Util::HashWithIndifferentAccess.new(config_plugins[name])\n          ui.info(I18n.t(\"vagrant.commands.plugin.installing\", name: name))\n\n          options = {sources: Vagrant::Bundler::DEFAULT_GEM_SOURCES.dup, env_local: true}\n          options[:sources] = pconfig[:sources] if pconfig[:sources]\n          options[:require] = pconfig[:entry_point] if pconfig[:entry_point]\n          options[:version] = pconfig[:version] if pconfig[:version]\n\n          spec = Plugin::Manager.instance.install_plugin(name, **options)\n\n          ui.info(I18n.t(\"vagrant.commands.plugin.installed\",\n            name: spec.name, version: spec.version.to_s))\n        end\n        ui.info(\"\\n\")\n        # Force halt after installation and require command to be run again. This\n        # will properly load any new locally installed plugins which are now available.\n        ui.warn(I18n.t(\"vagrant.plugins.local.install_rerun_command\"))\n        exit(-1)\n      end\n      if Vagrant::Plugin::Manager.instance.local_file\n        Vagrant::Plugin::Manager.instance.local_file.installed_plugins\n      else\n        {}\n      end\n    end\n\n    # This method copies the private keys into the home directory if they\n    # do not already exist. The `default_private_key_path` references the\n    # original rsa based private key and is retained for compatibility. The\n    # `default_private_keys_directory` contains the list of valid private\n    # keys supported by Vagrant.\n    #\n    # NOTE: The keys are copied because `ssh` requires that the key is chmod\n    # 0600, but if Vagrant is installed as a separate user, then the\n    # effective uid won't be able to read the key. So the key is copied","sourceCodeStart":1045,"sourceCodeEnd":1081,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/lib/vagrant/environment.rb#L1045-L1081","documentation":"Error \"vagrant.plugins.local.install_rerun_command\" thrown in hashicorp/vagrant.","triggerScenarios":"Thrown at lib/vagrant/environment.rb:1063 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5","analyzedAt":"2026-08-21T13:34:32.514Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}