Skip to content
Browse files

Fix 'rake' without SELECTOR_ENGINE environment variable set

  • Loading branch information...
1 parent a44a8db commit 7770ab99dc717b96e5b68e268aa20b081c5b9346 @sstephenson committed Dec 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
2 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)

0 comments on commit 7770ab9

Please sign in to comment.
Something went wrong with that request. Please try again.