From 1806c9263b6b22333f4e4d732ec2ad49aec924cc Mon Sep 17 00:00:00 2001 From: Emilio Forrer Date: Sun, 22 Feb 2015 21:56:53 -0600 Subject: [PATCH] Fixing dependency error while activating asset_hash and validated middleman version --- 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 7ae34fb..614d164 100644 --- a/lib/middleman-deploy/commands.rb +++ b/lib/middleman-deploy/commands.rb @@ -1,5 +1,5 @@ require 'middleman-core/cli' -require 'middleman-core/rack' +require 'middleman-core/rack' if Middleman::VERSION.to_i > 3 require 'middleman-deploy/pkg-info' require 'middleman-deploy/extension' require 'middleman-deploy/methods'