diff --git a/Rakefile b/Rakefile index da242d5..6d56986 100755 --- a/Rakefile +++ b/Rakefile @@ -103,7 +103,7 @@ module PrototypeHelper return ext_path if File.exist?(ext_path) get_submodule('the required selector engine', "#{name}/repository") - unless File.exist?(submodule) + unless File.exist?(submodule_path) puts "The selector engine you required isn't available at vendor/#{name}.\n\n" exit end