Re: Undefined mixin 'border-box-sizing' in Susy 1.0

611 views
Skip to first unread message

Eric Meyer

unread,
Aug 27, 2012, 1:52:06 AM8/27/12
to compas...@googlegroups.com
It sounds like you have the old gem (compass-susy-plugin) installed. The things that work are old, the things that don't work are new, and both are imported with "susy". All you need is:

gem uninstall compass-susy-plugin

cheers,
-e

On Sunday, August 26, 2012 11:39:59 PM UTC-6, Jake Mauer wrote:
I'm running a Compass/Susy project in conjunction with Guard. My config.rb has `require "susy"` and my sass file has @import "susy" 

Other mixins, such as +container and +susy-grid-background work fine. It's just +border-box-sizing that causes errors. I've attempted destroying and reconstructing the gemset with the latest versions of Compass and Susy to no effect. Also my global gemset is clean. 

Weirder still, when I remove the Susy gem, the @import "susy" command works, as do +container and +susy-grid-background mixins. However the require "susy" line in my config.rb fails. 

I realize that the +border-box-sizing mixin is just two lines, but even if I manually set * {box-sizing: border-box} and the $border-box-sizing variable to true, the math on the page doesn't change. 

Any ideas about what's going on?

Jake Mauer

unread,
Aug 27, 2012, 2:11:25 AM8/27/12
to compas...@googlegroups.com
Hey Eric, thanks for replying so quick.

I'm a goof. I had a  ~/.compass folder with old Susy in it. I read the guy's post where he had the exact same issue but for some reason I misinterpreted his folder path and didn't think to check in my home directory. Anyway, problem solved!
Reply all
Reply to author
Forward
0 new messages