I am trying to load a CSS framework, Blueprint, onto my Rails 3.1 application.
In Rails 3.0+, I would have something like this in my views/layouts/application.html.e
This blog has the solution I think you're looking for (as I was).
Don't put the blueprint
in app/assets
because it will get sucked up in require_tree
. Don't put it on public
because that's not where assets go. Put it in vendor/assets/stylesheets
then include them in application.html.erb
before your own application.css
as such:
<%= stylesheet_link_tag 'blueprint/screen', :media => "screen, projection" %>
<%= stylesheet_link_tag 'blueprint/print', :media => "print" %>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>