Use Sitefile. You can set the config variables in a block like the one
I have below.
.....
require 'compass'
Compass.configuration do |config|
config.project_path = File.dirname(__FILE__)
config.sass_dir = File.join('src', 'stylesheets')
end
....
Webby.site.sass_options.update(Compass.sass_engine_options)
On May 13, 12:57 pm, leeand00 <
leean...@gmail.com> wrote:
> In theCompassscreencast at 23:08 (
http://wiki.github.com/
> chriseppstein/compass) Chris Eppstein starts editing a file called
> config.rb, in his pureCompassproject. Chris uses this file to
> configure relative path names in his images using the *img_url()*
> function (which must be undocumented as I can't find anything about
> it, in the mailing list or on the website.).
>
> I'm working on a Webby project withCompassIntegration, and I can't
> find a config.rb file in my Webby project. I'm guessing that the
> SiteFile file in the root directory of my project will do the same
> thing, but I'm not entirely certain about this.
>
> Does anyone know what the equivalent to the config.rb file is in a
> Webby/CompassIntegrated project?