diff --git a/lib/vagrant/action/runner.rb b/lib/vagrant/action/runner.rb index ea1aad862..fea573732 100644 --- a/lib/vagrant/action/runner.rb +++ b/lib/vagrant/action/runner.rb @@ -19,7 +19,7 @@ module Vagrant def run(callable_id, options=nil) callable = callable_id - callable = Builder.build(callable_id) if callable_id.kind_of?(Class) + callable = Builder.build(callable_id) if callable_id.kind_of?(Class) || callable_id.is_a?(Method) raise ArgumentError, "Argument to run must be a callable object or registered action." if !callable || !callable.respond_to?(:call) # Create the initial environment with the options given