Permalink
Browse files

[Configuration] The compass configuration can now be placed in .compa…

…ss/config.rb if you so choose.
  • Loading branch information...
chriseppstein committed Jun 28, 2009
1 parent 84aec05 commit 69cf32f70ac79c155198d2dbf96f50856bee9504
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/compass/commands/project_base.rb
@@ -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

1 comment on commit 69cf32f

@grimen

This comment has been minimized.

Show comment
Hide comment
@grimen

grimen Jul 4, 2009

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.

grimen commented on 69cf32f Jul 4, 2009

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.