Question

I've updated my app to use the rails 3.1 asset pipeline (I think). I can compile .css files but not css.scss. I am running the sass-rails gem but nothing seems to work.

What should I check? Sorry, I don't know exactly what info I should supply here to help debug. I can edit this...

EDITS:

My .scss file contains:

/*
*= require_self
*= require_tree . 
*/

edit: see Sprockets::CircularDependencyError in Store#index

Thanks, Rim

Was it helpful?

Solution

Remember that css.scss files need to be included, not imported like the rest:

So: Turn you application.css into an application.css.scss, and do like this in it:

/*
*= require ./normal/custom.css
*= require_self
*/

@import "normal/design/control_panel";
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top