Compass.configuration.sass_options = { :never_update => true }
has been useful to mee too.thanks luca On Nov 17, 2:24 pm, Josh Coffman <[email protected]> wrote: > That didn't work for me; caused an error about Sass not being found. I did > solve it though. Compass has it's own wrapper for sass options: > > Compass.configuration.sass_options = { :never_update => true } > > On Wed, Nov 17, 2010 at 12:02 AM, Chris Hanks <[email protected] > > > wrote: > > In my compass initializer file I include: > > > Sass::Plugin.options[:never_update] = true if Rails.env.production? > > > On Nov 16, 9:57 pm, Josh Coffman <[email protected]> wrote: > > > I'm using compass in one of my rails apps on heroku, and every time I > > push > > > it, it fails to load on the first request and shows an error page. It > > works > > > fine on subsequent requests. I think compass is trying to write to > > > public/stylesheets/ie.css. here is the error from the heroku logs: > > > > Started GET "/" for 72.208.78.46 at 2010-11-16 21:51:09 -0800 > > > > Errno::EROFS (Read-only file system - > > > /disk1/home/slugs/274925_210ef9f_8bf2-58f50fc2-dbf0-4734-8c90-e918608ebf20/ > > mnt/public/stylesheets/ie.css > > > - Heroku has a read-only filesystem. Seehttp:// > > docs.heroku.com/constraints#read-only-filesystem): > > > > Anyone know how to stop it from writing? I tried using the line in > > > production.rb to turn off Sass, but that just gives be an error about > > > module/namespace not found. > > > > TIA, > > > Josh > > > -- > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<heroku%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
