我是 Rails 的新手。我安装了 Zurb 基础前端框架,如下所述:http ://www.zurb.com/article/814/yetify-your-rails-new-foundation-gem-and-
当我打开 app/assets/stylesheets/application.css 我发现这个自动生成的代码:
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*= require foundation
*= require_tree .
*/
但是,在我看来,这条线
<%= stylesheet_link_tag "application" %>
不加载我创建的文件 zurb_foundation/app/assets/stylesheets/foundation/index.css:
couldn't find file 'foundation'
(in /Users/migu/railsapps/maneki1/app/assets/stylesheets/application.css:6)
如何让它加载我放在 zurb_foundation/app/assets/stylesheets/foundation/ 下的文件和所有 CSS 文件?谢谢...