Susy and Middleman 4

I’ve just upgraded a Middleman 3 project to Middleman 4. The project uses the susy compass plugin.

Previously, I had simply included susy in my Gemfile, and added an:

@import "susy"

statement to the start of my stylesheet, and everything was fine. Since upgrading to Middleman 4, however, it seems that Middleman can no longer find susy. I get a:

File to import unfound or not readable: susy

message.

Adding:

require "susy"

to my config.rb doesn’t appear to help.

Has anyone successfully used susy or other compass plugins with Middleman 4? Is there any special trick to it?

Answering my own question, it turns out that the easiest way to get past this problem is simply to copy the required Susy stylesheets (from Susy’s ‘sass’ folder) into the Middleman project’s CSS folder, as suggested on the susy download page.

Hey @angusm, just wan’t to tell you that I’ve got Susy 2 running.

Gemfile
# Susy gem 'susy'

site.css.scss
@import "susy";

Just works fine :slightly_smiling: