I am using rails 3.1 rc6 and I have 2 files:
- screen.css.sass
- partials/_layout.css.sass
Screen 1, looks like this:
@import 'compass'
@include global-reset
@include reset-html5
@import "partials/utilities"
@import "partials/layout"
In _layout.css.sass which is a partial that I am importing from screen.css.sass, I want to use the pie-clearfix mixin which lives in:
compass/utilities/general/clearfix
I would have thought that I would not have to add an additional @import directive to the partial because I am importing the whole compass library in screen.css.sass.
But when I try to use it like this:
.group
@include pie-clearfix
I get the following error message:
Undefined mixin 'pie-clearfix'
The only way to get the _layout.css.sass file to render from the asset pipeline is to add the import to the _layout.css.sass:
@import "compass/utilities/general/clearfix"
It does not seem to be picking up the @import 'compass' from screen.css.sass.
Am I missing something or is this a bug?