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

Comments

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.