diff --git a/cli/lib/compass/configuration/helpers.rb b/cli/lib/compass/configuration/helpers.rb index a9aef82e38..f86e43fc74 100644 --- a/cli/lib/compass/configuration/helpers.rb +++ b/cli/lib/compass/configuration/helpers.rb @@ -86,7 +86,7 @@ def add_project_configuration(*args) # Finds the configuration file, if it exists in a known location. def detect_configuration_file(project_path = nil) possible_files = KNOWN_CONFIG_LOCATIONS.map{|f| projectize(f, project_path) } - possible_files.detect{|f| File.exists?(f)} + possible_files.detect{|f| File.exist?(f)} end def handle_configuration_change!