Hey all,
  I've got an issue trying to figure out this asset pipeline stuff... So
in my application layout, I have:

<%= stylesheet_link_tag    "application" %>

which translates the URL to /assets/application.css in the HTML output.

The problem is that it can never find it -- I can see the file under
app/assets/stylesheets/application.css . I've tried moving it to just
app/assets/application.css and it doesn't pick it up either. The
pipeline is enabled in the application.rb (config.assets.enabled =
true), but the only way I've found for Rails to pickup the CSS file is
to place it in public/assets/application.css .

So the stylesheet_link_tag (as well as image_tag,
javascript_include_tag, etc...) is looking in public/assets instead of
using app/assets/[asset type]/.

Has anyone experienced something similar? I'm new to Rails 3.1 so I'm
not sure if this is expected operation or something is broken...

Thanks in advance!!
 - Jeff

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to