Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
fubhy CreditAttribution: fubhy commentedIn 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".
Comment #2
FiNeX CreditAttribution: FiNeX commentedI 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.
Comment #3
fubhy CreditAttribution: fubhy commentedI added
So I guess we can consider this fixed.
Comment #4
FiNeX CreditAttribution: FiNeX commentedThanks :-)
Comment #6
dddbbb CreditAttribution: dddbbb commentedI'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 :)
Comment #7
fubhy CreditAttribution: fubhy commentedFor outputting the final production version of your CSS you have to do
Please open new issues for new problems instead of bumping closed ones though! ;)
Comment #8
dddbbb CreditAttribution: dddbbb commentedThanks!
Yes, sorry about the bump. I thought it was relevant enough but you're quite right :)
Comment #9
basvredelingAlso in project documentation, see: https://drupal.org/node/1936986