I tried to use hassle today but without succes.
Locally it works but on Heroku server the stylesheet cannot be found.
I've used both
= stylesheet_link_tag "application.css"
<link href="/stylesheets/application.css" media="screen"
rel="stylesheet" type="text/css" />
in my layout, but it just can't find /stylesheets/application.css
Note that when I'm running my app locally it writes the compiled css
to ./public/stylesheets and not in ./tmp. Don't know if this should be
the case either?
On Mar 26, 6:40 pm, Oren Teich <[email protected]> wrote:
> hassle stores the stylesheets in varnish, cached for all dynos.
>
> Oren
>
> On Fri, Mar 26, 2010 at 6:30 AM, Marcel Overdijk
> <[email protected]>wrote:
>
>
>
> > As I understand sass_on_heroku or better hassle can be used to compile
> > sass stylesheets to the /tmp folder on Heroku. I'm wondering what the
> > findings are about using this approach.
>
> > I'm asking because of this mention in the Heroku docs. Especially the
> > last sentence.
>
> > There are two directories that are writeable: ./tmp and ./log (under
> > your application root). If you wish to drop a file temporarily for the
> > duration of the request, you can write to a filename like
> > #{RAILS_ROOT}/tmp/myfile_#{Process.pid}. There is no guarantee that
> > this file will be there on subsequent requests (although it might be),
> > so this should not be used for any kind of permanent storage.
>
> > Cheers,
> > Marcel
>
> > --
> > 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.