Created
June 15, 2011 23:30
-
-
Save mikedijkstra/1028391 to your computer and use it in GitHub Desktop.
Rails: Compass and Heorku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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