Last updated November 3, 2013. Created by banghouse on March 8, 2013.
Edited by flocondetoile, Cellar Door, jessicakoh. Log in to edit this page.

This section is incomplete and in-progress. Please be patient we are working to develop the handbook as quickly as is possible.

Read this: https://drupal.org/node/2009540

How to remove line @media -sass-debug-info in the css file compiled

You just have to add in your file config.rb located in your theme's folder this line before the condition if (environment.nil?)

environment = :production

Or you could compile your css with the command line
compass compile -e production --force

See Compass configuration reference

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.

Comments

I'm using environment =: production as stated above, but the resulting css still has -sass-debug-info after compiled. What am I missing?

I believe you need to use environment = :production (ie, the colon is part of "production" not part of the operator "=".