I've built an Omega 4 subtheme, generating css through sass with 'drush omega-guard'. Despite my config.rb looks like this, all sass-debug-info{} rests in my generated css files:

saved = environment
environment = :production
if (environment.nil?)
  environment = :development
  environment = saved

output_style = (environment == :production) ? :expanded : :nested
line_comments = (environment == :production) ? false : true
sass_options = (environment == :production) ? {} : {:debug_info => true}

I there a wrong declaration in my config.rb or is there another setting overriding my config.rb?


1 Answer 1


I cannot see anything wrong with your config.rb but if you are having problems you can use the following to force compass to strip out the debug info.

compass compile -e production --force

Source: https://www.drupal.org/node/1936986

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.