Hopefully a very quick Q&A about config file location

174 views
Skip to first unread message

Iain Barnett

unread,
May 15, 2012, 11:24:07 AM5/15/12
to compas...@googlegroups.com
Hi all,

Is it possible to specify a different name/location for the config.rb file? If so, are there any caveats / other changes I'd need to make? I'd much prefer to be able to store it in config/compass.rb along with several other config files that the app needs.

Forgive me if it's in the docs somewhere, I have tried to find the answer to this but with no success.

Any help with this is much appreciated.

Regards,
Iain

Iain Barnett

unread,
May 23, 2012, 11:27:45 AM5/23/12
to compas...@googlegroups.com
I found the answer in the command line help, if anyone else needs it, it's here:

With (almost?) all the `compass` commands at the command line you can add `-c` switch to specify the location of the config file, i.e.

    bin/compass watch -c config/compass.rb &

Regards,
Iain
Reply all
Reply to author
Forward
0 new messages