From 3b2a82003ec86cb0d78203111607a5e34f4863a3 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 22 Feb 2013 15:28:48 -0800 Subject: [PATCH] The hook callable has to be an Action builder so the hooks are called --- lib/vagrant/environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index f663788ed..db6424872 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -245,7 +245,7 @@ module Vagrant # @param [Symbol] name Name of the hook. def hook(name) @logger.info("Running hook: #{name}") - callable = Proc.new {} + callable = Action::Builder.new action_runner.run(callable, :action_name => name) end