On config.rb some settings (comments, debug info and output style) depends on environment variable which is never set. I suggest to add something like:

enviroment = :development

on the config.rb file (like Zen does).

Comments

fubhy’s picture

Status: Active » Postponed (maintainer needs more info)

In dev this defaults to "not production" which is technically the same. Or are you getting errors? By not setting this we can run "compass compile -e production" without having to write "--force".

FiNeX’s picture

I don't have any error, I can modify the file or run compass with "-e production" . It was only a suggestion for people who doesn't know about the two options :-)

I've thought about this issue and probably people who use Omega should already know how to use compass. Feel free to close the issue :-)

Thanks for the attention.

fubhy’s picture

Status: Postponed (maintainer needs more info) » Fixed

I added

# Default to development if environment is not set.
saved = environment
if (environment.nil?)
  environment = :development
else
  environment = saved
end

So I guess we can consider this fixed.

FiNeX’s picture

Thanks :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dddbbb’s picture

I'm having a little trouble outputting anything but "development" CSS with this setup (expanded output, debug info present etc). When switching to over to compile "production" CSS, what exactly am I supposed to change to what?

I understand that I need to change a variable to :production rather than :development but everything I try seems to just output the same dev style CSS.

My stack is setup properly (RVM, bundler etc) and I'm using the Guardfile to handle Compass compilation.

Any help would be appreciated :)

fubhy’s picture

For outputting the final production version of your CSS you have to do

compass compile -e production --force

Please open new issues for new problems instead of bumping closed ones though! ;)

dddbbb’s picture

Thanks!

Yes, sorry about the bump. I thought it was relevant enough but you're quite right :)

basvredeling’s picture

Issue summary: View changes

Also in project documentation, see: https://drupal.org/node/1936986