Skip to content

Instantly share code, notes, and snippets.

@joemsak
Created April 28, 2011 17:13
Show Gist options
  • Save joemsak/946782 to your computer and use it in GitHub Desktop.
Save joemsak/946782 to your computer and use it in GitHub Desktop.
With the latest compass config/compass.rb has a railtie now. Heroku instructions go here now.
project_type = :rails
project_path = Compass::AppIntegration::Rails.root
environment = Compass::AppIntegration::Rails.env
FileUtils.mkdir_p(Rails.root.join("tmp", "stylesheets"))
Rails.configuration.middleware.insert_before('Rack::Sendfile', 'Rack::Static',
:urls => ['/stylesheets'],
:root => "#{Rails.root}/tmp")
http_path = '/'
css_dir = 'tmp/stylesheets'
sass_dir = 'app/stylesheets'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment