From 336fcd3c0e9d61f243b248ceeae7497e36fb583d Mon Sep 17 00:00:00 2001 From: Tom Vaughan Date: Sat, 24 Aug 2013 11:16:22 -0400 Subject: [PATCH] Catch specific exception. Fixes #38 (I think). --- lib/middleman-deploy/commands.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleman-deploy/commands.rb b/lib/middleman-deploy/commands.rb index 4e874df..a98f265 100644 --- a/lib/middleman-deploy/commands.rb +++ b/lib/middleman-deploy/commands.rb @@ -102,7 +102,7 @@ EOF begin options = inst.options - rescue + rescue NoMethodError print_usage_and_die "You need to activate the deploy extension in config.rb." end