Skip to content

Instantly share code, notes, and snippets.

@mikedijkstra
Created June 15, 2011 23:30
Show Gist options
  • Save mikedijkstra/1028391 to your computer and use it in GitHub Desktop.
Save mikedijkstra/1028391 to your computer and use it in GitHub Desktop.
Rails: Compass and Heorku
The default installation of compass in a rails app that is deployed to Heroku can cause some issues due to the nature of Heroku's read only file system.
A quick fix to this problem (assuming you develop locally and just deploy to production) you can add the following lines of code to config/compass.rb
environment = Compass::AppIntegration::Rails.env
if environment == :production
Sass::Plugin.options[:never_update] = true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment