这里是我的application.css:Rails的@import指南针没有找到
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* 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_tree .
*/
@import "compass/reset";
罗盘复位获得一个404:
GET http://0.0.0.0:3000/assets/compass/reset 404 (Not Found)
BTW,运行的Rails 3.2.3。谢谢!
你有没有在你的Gemfile中包含指南针宝石? – kclair
是。也运行捆绑。 – botbot
我从来没有多少运气向清单文件本身添加东西。您是否尝试将@import语句移动到树中的其他文件? – kclair