I'm using Haml/Sass/Compass. For me, I decided the Hassle gem wasn't
worth the hassle.

When you update your Sass files in development, Compass will create
the corresponding CSS files when you visit your site through your
development server. That way you don't need to have Compass trying to
compile things on Heroku. In your production configuration, just set
Compass to not compile. Otherwise, it you'll keep on getting that
Heroku error.

# production.rb
Mysite::Application.configure do
  Sass::Plugin.options[:never_update] = true
  ...
end



On Oct 22, 3:59 pm, Josh Coffman <[email protected]> wrote:
> Yes, nice catch on reading that error. I meant to write compass not haml.
> Compass would be my sass compiler, which I assume I'll have to force
> pre-compile before deploying.
>
> Thanks.
>
> On Fri, Oct 22, 2010 at 3:52 PM, Wes Gamble <[email protected]> wrote:
> >  That's Sass trying to compile a CSS file.
>
> > You need to pre-process your Sass so that the CSS is emitted before you
> > deploy.
>
> > Whether or not you check in that CSS is up to you.
>
> > W
>
> > On 10/22/10 5:48 PM, Josh Coffman wrote:
>
> > I was just finally trying haml and did a quick push up to heroku to make
> > sure it worked. I think causing a problem with the read-only file system.
> > Can anyone confirm, or know of a way to get haml working on heroku?
>
> >  This was the production log from the heroku command line:
>
> >  ==> production.log <==
>
> >  Started GET "/" for 72.208.78.46 at 2010-10-22 15:40:00 -0700
>
> >  Errno::EROFS (Read-only file system -
> > /disk1/home/slugs/274925_92988c8_75a6-15f7f62e-5365-490a-9a8a-f6b735d4b340/mnt/public/stylesheets/ie.css
> > - Heroku has a read-only filesystem.  See
> >http://docs.heroku.com/constraints#read-only-filesystem):
>
> >  Thanks,
> > 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].
> > 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]<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.

Reply via email to