Skip to content

Instantly share code, notes, and snippets.

@MarkNijhof
Created December 15, 2010 21:03
Show Gist options
  • Save MarkNijhof/742605 to your computer and use it in GitHub Desktop.
Save MarkNijhof/742605 to your computer and use it in GitHub Desktop.
compass.rb
require 'compass'
require 'compass/app_integration/rails'
Compass::AppIntegration::Rails.initialize!
Compass.configuration do |config|
config.project_path = File.dirname(__FILE__)
config.sass_dir = "app/stylesheets"
config.project_type = :rails
config.http_path = "/"
config.css_dir = "tmp/stylesheets/compiled"
config.images_dir = "images"
config.output_style = :compressed
end
Compass.configure_sass_plugin!
puts 'Compass initializer'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment