From ee8f9625379d0a58e2346b6fc1341225bdfe7997 Mon Sep 17 00:00:00 2001 From: Teemu Matilainen Date: Wed, 4 Dec 2013 17:24:23 -0300 Subject: [PATCH] Fix plugin loading Regression from d354cdd. --- lib/vagrant/environment.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index 46899197c..62d059dd1 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -755,9 +755,9 @@ module Vagrant next end - @logger.info("Loading plugin from JSON: #{plugin}") + @logger.info("Loading plugin from JSON: #{name}") begin - Vagrant.require_plugin(plugin) + Vagrant.require_plugin(name) rescue Errors::PluginLoadError => e @ui.error(e.message + "\n") rescue Errors::PluginLoadFailed => e