Trevor Saint
Trevor Saint

Reputation: 51

Susy 2 Framework for SASS undefined mixin ' span'

I am having a small issue using Susy in that it seems to be using the old syntax.

I have the latest version of SASS (3.3.6). I have the latest version of SUSY (2.1.2). I have the latest version of Codekit (1.9.3).

I have included this in my global.rb file:

require "susy";

I have also imported this as below:

@import 'susy';

So everything should be fine. Using standard variables for the setup I have added the following code to a simple div block:

@include span(5);

Which should span the block 5 columns out of 10. Simple enough but I get an error:

Undefined mixin 'span'

Correct me if I am wrong but is this not the new syntax, as shown here:

http://susydocs.oddbird.net/en/latest/install/

If I use this:

@include span-columns(5 omega);

Everything is fine. But this is using the old syntax for Susy One. Am I missing the obvious here? I would appreciate any direction.

Upvotes: 1

Views: 3259

Answers (1)

Trevor Saint
Trevor Saint

Reputation: 51

After lots of uinstalling gems and reinstalling gems I was able to get things working.

I used the following:

sudo gem uninstall compass
sudo gem install compass --pre

This seems to have fixed the problem for me.

So these are the gems I have installed:

Compass (1.0.0.alpha.19)
Sass (3.3.8, 3.2.19)
Susy (2.1.2)

Upvotes: 2

Related Questions