To use compass in Ramaze, first require "compass", then in your controller add
require "compass"
In theory you can place this in another file or you can load a compass configuration file using Compass.configuration.parse("path/to/config.rb").
Compass.configuration.parse("path/to/config.rb")
engine :Sass Compass.configuration do |config| config.project_path = File.join(File.dirname(__FILE__), "..") config.css_dir = "public/css" config.sass_dir = "view/" config.images_dir = "public/images" config.http_path = "/" config.http_images_path ="/images" config.http_stylesheets_path = "/css" config.http_javascripts_path = "/javascripts" config.output_style = :compact end trait[:sass_options] = Compass.configuration.to_sass_engine_options
There was an error while loading. Please reload this page.