title: rails 3.1 customize sprockets precompile assets
body: <p>I am trying to customize what assets get precompiled. In production I only want application.js and applicaiton.css to be compiled and not all the subsequent files that are included.</p>
  
  <p>For example giving the following files I only want one file (appliation.css) to be output when I run the precompile rake task</p>
  
  <pre><code>##application.css
  //include components/form.elements
  //include components/lists
  </code></pre>
  
  <p>The default is to precompile all assets in the assets directory and it is quite messy. </p>
  
  <p>EDIT correction it is the default to precompile all non js and css files in the assets directory. If however you have a file like form.elements.js sprockets will precompile it thinking it is a non js/css file.</p>