From 7770ab99dc717b96e5b68e268aa20b081c5b9346 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Wed, 2 Dec 2009 15:14:18 -0600 Subject: [PATCH] Fix 'rake' without SELECTOR_ENGINE environment variable set --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 5e89765..b6b3a37 100755 --- a/Rakefile +++ b/Rakefile @@ -98,9 +98,9 @@ module PrototypeHelper end def self.get_selector_engine(name) + return if name == DEFAULT_SELECTOR_ENGINE || !name submodule_path = File.join(ROOT_DIR, "vendor", name) return submodule_path if File.exist?(File.join(submodule_path, "repository", ".git")) - return if name == DEFAULT_SELECTOR_ENGINE get_submodule('the required selector engine', "#{name}/repository") unless File.exist?(submodule_path)