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 <joshcoff...@gmail.com> 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.