3

这是我的application.css:

/*
 * 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)

顺便说一句,运行 Rails 3.2.3。谢谢!

4

1 回答 1

5

重命名application.cssapplication.css.scss.

于 2012-08-23T20:46:51.570 回答