Closed (fixed)
Project:
Zen
Version:
7.x-5.x-dev
Component:
CSS/SASS/HTML markup
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2012 at 19:16 UTC
Updated:
15 Dec 2015 at 07:54 UTC
Jump to comment: Most recent
Comments
Comment #1
KrisBulman commentedThis sounds like a Compass installation problem if you are attempting to compile your CSS the right way, for some reason compass isn't loading the required paths. compass/support is a core component of Compass and is loaded by default when you do a:
compass watchto watch for changes orcompass compileto do a 1 time compile. Are you using one of these commands?What does
compass -vreturn?I wrote some documentation around Compass installation and usage which you may want to read through: http://drupal.org/node/1663122
Comment #2
KrisBulman commentedComment #3
burlapdesign commentedI'm was running into this issue as well. i'm on a windows system. The output of compass -v gives Compass 0.12.2 (Alnilam)
The way I fixed this was I needed to add the sass and css directories as an existing project to compass.
That is done with the command(s)
cd <[sub]theme directory>
$ compass create . --bare --sass-dir "path/to/sass files" --css-dir "path/to/css" --force
--bare tells compass not to create all the usual stuff it does.
--force is needed because there should already be a config.rb file and you most likely want to use that one.
Originally found part (bulk) of the answer here: https://groups.google.com/forum/?fromgroups=#!topic/compass-users/w1wZd4bKbGo
Comment #4
johnalbinI'm very confused. Do you mean that Compass on Windows requires some kind of "registration" before compass can compile an existing project that has a config.rb file? That makes no sense to me.
@burlapdesign Can you paste the contents of your new config.rb file so I can see if there is so sort of Windows magic in there that lets Compass compile the project? I think the --force flag overwrote the default zen config.rb file. Thank you!
Comment #5
gapa commentedI had a similar problem. Also on windows. But this error showed when I was using PhpStorm 6 with new feature. File watcher. I think the problem was because Sass File Watcher tried to compile only Sass to css and have not used Compass. If i tried to compile sass in command line with compass watch all was ok. Also all was ok when I disabled File Watcher in PhpStorm and used compass as external tool.
br,
Gapa
Comment #6
fejn commented@John Albin: Did you figure out whether the '--force' option overwrites the Zen config.rb file? I'm having a problem similar to the one described here (using Zen 7.5-1) & might try burlapdesign's solution, but I 'd like to avoid accidental 'side-effects' if possible.
Thanks, Jeff
Comment #7
johnalbinI'm not a Windows user.
Comment #8
mxr576Here is my working solution on Windows: https://twitter.com/iEMIXER/status/487000070798471169
Comment #9
johnalbin