Better to keep the config file in the source directory.

This commit is contained in:
Chris Eppstein 2009-01-02 01:35:14 -08:00
parent 835fcdee2b
commit 98035eea07

View File

@ -79,7 +79,7 @@ module Compass
# Read the configuration file for this project # Read the configuration file for this project
def read_project_configuration def read_project_configuration
config_file = projectize('config.rb') config_file = projectize('src/config.rb')
if File.exists?(config_file) if File.exists?(config_file)
contents = open(config_file) {|f| f.read} contents = open(config_file) {|f| f.read}
eval(contents, nil, config_file) eval(contents, nil, config_file)