Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9193153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:05:37+00:00 2026-06-17T21:05:37+00:00

On the Susy Getting Started page, there’s a section marked ‘Manual Start’ , which

  • 0

On the Susy Getting Started page, there’s a section marked 'Manual Start', which says :

“You can use this method if you’re not using Compass from Terminal and/or Rails”.

It then explains how to copy Susy’s Sass definitions and @import "susy", after which (it claims), “you’re good to go”.

I’m trying to use Susy as part of my own build system, which uses the ‘sass’ command-line command to compile my stylesheets. Obviously, the Susy Sass mixins and includes depend on Compass, so I extracted the Compass Sass definitions from the Compass distribution, and put them where they could be accessed by Susy. I then tried to compile my stylesheets with:

sass -I scss/compass scss/foobar.scss ${CSSDIR}/foobar.css

When I do this, Susy throws a warning:

“You need to provide either a valid layout (number of columns) or a valid media-query min-width breakpoint (length)”.

Digging into the code, it appears that the issue is that Susy calls the ‘compact’ function provided by Compass. The actual call is something like:

compact(false,false,false,...)

which – I presume – should evaluate to:

false

But ‘compact’ isn’t a Sass feature; it’s a Compass function, implemented in Ruby as part of Compass. If Compass’s Ruby extensions aren’t available, that call is left unchanged, so the Susy mixin is getting handed:

compact(false,false,false,...)

which is not 'false' … and so things go pear-shaped. (The trouble happens at line 93 of susy/_grid.scss).

It looks to me as if using Susy without Compass is not actually possible. What’s my best solution to this issue? Do I just use 'compass compile ...'instead of 'sass' to compile my stylesheet? Or can I somehow provide the 'compact' function to ‘sass’ in some other way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:05:38+00:00Added an answer on June 17, 2026 at 9:05 pm

    You can add this function yourself, though I really recommend using Compass. All it requires is a config.rb file so that Compass knows where files are supposed to live for various helper functions. The command for compiling with Compass is more compact since the output location is already defined in the config file: compass watch or compass compile

    If you don’t want to use Compass, you can add the function yourself. First you’ll need the custom function, which comes from here: https://github.com/chriseppstein/compass/blob/stable/lib/compass/sass_extensions/functions/lists.rb#L18

    def compact(*args)
    sep = :comma
    if args.size == 1 && args.first.is_a?(Sass::Script::List)
      list = args.first
      args = list.value
      sep = list.separator
    end
    Sass::Script::List.new(args.reject{|a| !a.to_bool}, sep)
    end
    

    Place it in a ruby file wherever makes sense.

    Your sass command now just needs to add this flag: -r ./path/to/functions.rb

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am just atarting to use Susy I have defined my layouts, I needed
I just can't figure out what is wrong with my setup with Susy. I
Is there a way to make Compass Susy work from large widths down to
Looking at the susy site , how does it hide .secondary when getting at
Keep in mind that there's no way I can normalize the table, so I'm
I just started to play with Susy. I have a 12 column grid that
Can Susy automatically fill a multi column layout if elements have different widths? What
When i use sprite into the at-breakpoint($desktop) (susy) the generit sprite background image not
If all elements span exactly one column, can Susy automatically (without specifying omega )
In the Compass/Sass plugin, Susy , you set the number of columns in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.