chriseppstein/compass — Issue #605: Syntax error: Undefined mixin 'adjust-font-size-to'
Author: brandon-rhodes
Created: 2011-10-23 07:57:22+00:00
State: open

I just pulled a project off the shelf, ran its install script which in turn ran "gem install -i Gem compass" and "gem install -i Gem compass-susy-plugin", and then tried recompiling my project's CSS. I got the error:

Syntax error: Undefined mixin 'adjust-font-size-to'

But the source file compass-0.11.5/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss in my Gem directory still seems to define this mixin. An aside: when I tried to fix the situation by explicitly including the file, I not only found no @import line that would make the mixin start working:

/* none of these help*/
@import "compass/typography/vertical_rhythm";
@import "compass/typography/_vertical_rhythm";
@import "vertical_rhythm";

But I also found that none of the above @import statements give error messages! This is a bit troubling — I can have a bad filename in an @import statement, and Sass will not complain to let me know? That could make it hard to diagnose misspellings that result in missing mixins etcetera.