Last updated 29 November 2016. Created on 8 March 2013.
Edited by rpsu, 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:

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 forums, or join #drupal-support in IRC.


alexaffonso’s picture

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

jonhines’s picture

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

ronsnow’s picture

Also, you must restart your compass watch to bring in the new config.rb settings.