Skip to content

Commit

Permalink
[Configuration] The compass configuration can now be placed in .compa…
Browse files Browse the repository at this point in the history
…ss/config.rb if you so choose.
  • Loading branch information
chriseppstein committed Jun 28, 2009
1 parent 84aec05 commit 69cf32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compass/commands/project_base.rb
Expand Up @@ -55,7 +55,7 @@ def read_project_configuration
end

# TODO: Deprecate the src/config.rb location.
KNOWN_CONFIG_LOCATIONS = ["config/compass.config", "config.rb", "src/config.rb"]
KNOWN_CONFIG_LOCATIONS = [".compass/config.rb", "config/compass.config", "config.rb", "src/config.rb"]

# Finds the configuration file, if it exists in a known location.
def detect_configuration_file
Expand Down

1 comment on commit 69cf32f

@grimen
Copy link

@grimen grimen commented on 69cf32f Jul 4, 2009

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For Rails apps it's recommended to follow the Initializer-convention, i.e. config/initializers/compass.rb. Maybe that could be an option in the setup? We always do that manually now.

Please sign in to comment.