title: SCSS and Compass CLI configuration
body: <p>How do I configure Compass when using the <code>sass</code> CLI?</p>
  
  <p>Basically I was to set the <code>images_dir</code> property, here is the command I have been using:</p>
  
  <pre><code>sass 
      --compass
      path/to/input.scss
      path/to/output.css
  </code></pre>
  
  <p>I tried:</p>
  
  <pre><code>sass 
      --compass
      -c path/to/config.rb
      path/to/input.scss
      path/to/output.css
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>WARNING on line 1 of path/to/config.rb:
  This selector doesn't have any properties and will not be rendered.
  Syntax error: Invalid CSS after "image_dir ": expected selector, was "= "test""
      on line 1 of path/to/config.rb
  </code></pre>
  
  <p>So obviously the <code>-c</code> doesn't work the same way when using the <code>compass compile</code> command.</p>
  
  <p>And</p>
  
  <pre><code>sass 
      --compass
      --images-dir path/to/images
      path/to/input.scss
      path/to/output.css
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>OptionParser::InvalidOption: invalid option: --images-dir
  </code></pre>
  
  <p>Likewise as above.</p>
  
  <p>I tried to use the <code>compass compile</code> but I don't have a project directory.</p>
  
  <pre><code>compass compile 
      --images-dir path/to/images
      path/to
      path/to/input.scss
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>You must compile individual stylesheets from the project directory.
  </code></pre>
  
  <p>Also tried this:</p>
  
  <pre><code>compass compile 
      path/to
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Nothing to compile. If you're trying to start a new project, you have left off the directory argument.
  </code></pre>
  
  <p>config.rb just contained:</p>
  
  <pre><code>images_dir = "test"
  </code></pre>