Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>just came across this problem too, and it has already been answered in the comment by Arnaud Valle. But just for clarity, and people later searching.</p> <p>Just creating a config.rb will not work, as compass does not recognise it. The answer is just switch to your project directory(root) and then run</p> <pre><code>compass init </code></pre> <p>This will then create you a "working" config.rb, and two directories called sass, and stylesheets, in the sass directory will be a couple of start scss files.</p> <p>If you do not want them, or want to use different directories, you can of course now edit your freshly created and working config.rb, and change your directories (and then delete the old automatically created ones)</p> <p>Oh and i suspect your js will not be in a folder javascripts, so edit that to in the config.rb</p> <p>Anyway having done that(or not) you should then be able to run </p> <pre><code>compass watch </code></pre> <p>and all should be good , i.e. your scss files get compiled to css files</p> <p>As an alternative that I have not tried, but theoretically</p> <pre><code>compass compile [path/to/scss] </code></pre> <p>should work too, if you don't want to init compass</p> <p>More information to be found in the compass documentation <a href="http://compass-style.org/help/tutorials/command-line/">here</a></p> <p>and to go completely over the top, if this is something you find yourself doing often, and hate the defaults then edit/add the following to your ~/.bash_profile</p> <pre><code>alias compass_init="compass init --syntax=sass --css-dir=css --javascripts-dir=js" </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload