Closed (works as designed)
Project:
Zen
Version:
7.x-5.x-dev
Component:
CSS/SASS/HTML markup
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2013 at 12:25 UTC
Updated:
29 Sep 2015 at 01:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gordon commentedHere is a patch
Comment #2
johnalbinThis complicates the text in the config.rb file and I couldn't get it to work.
I also tried
environment ||= :developmentwith no luck.Comment #3
KrisBulman commentedalso unable to get this to work
Comment #4
fubhy commentedWhy even bother? Just use "compass compile -e production --force" :)
Comment #5
johnalbinDidn't know about the --force option.
Works for me! :-)
Comment #6
gordon commentedI have done some more tests. I create a competely new zen subtheme with this patch applied.
As it is now, when I run the following command
I get the following output for the block.css. Also note I have turned on firesass to high light this more.
Where as when I apply the patch I have provide the block.css compiles to
As you can see without the patch the css is being created using development mode.
I have put this back to "needs review" because without the patch the enviroment variable can't be altered from the command line without the above patch.
Comment #7
johnalbinThe patch still doesn't work.
Comment #8
johnalbinThis isn't needed in 7.x-6.x. And the --force option works for 7.x-5.x. closing again