Hey,

in my `application.html.erb`, I have this line:

    <%= stylesheet_link_tag 'application' %>

which should compile through the asset pipeline and link to the
application.css (which does a `require_tree .`). In development mode,
I'd expect a

    <link ... href="/assets/application.css" />

This file is actually delivered by, for example, the thin webserver.

When starting thin in production mode (even after `rake
assets:precompile`), the `application.css` is still link'ed – here I'd
expect the `/assets/application-md5hash.css` which is generated in the
public directory. Even further: in the SCSS files, the `image_url`
helper does not resolve the correct paths (cp.
http://rdoc.info/gems/sass-rails/3.1.0/Sass/Rails/Helpers),

   background: image_url('foo.png');

compiles to

   background: url(/assets/foo.png);

instead of

  background: url(/assets/foo-md5hash.png);

Or am I just missing something!?

—Dominik

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to