title: Rails compass libraries
body: <p>I have installed compass via rubygems</p>
  
  <p>doug:aggio davide$ sudo gem list compass</p>
  
  <p><strong>* LOCAL GEMS *</strong></p>
  
  <p>compass (0.10.0.pre2)
  compass-colors (0.3.1)</p>
  
  <p><strong>* LOCAL GEMS *</strong></p>
  
  <p>fancy-buttons (0.3.7)</p>
  
  <p><strong>* LOCAL GEMS *</strong></p>
  
  <p>haml (2.2.16, 2.2.14, 2.2.13, 2.2.10, 2.2.9, 2.2.6, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.0.10, 2.0.9)
  haml-edge (2.3.100, 2.3.97, 2.3.83, 2.3.67, 2.3.62, 2.3.43, 2.3.29, 2.3.27, 2.3.21, 2.1.56, 2.1.41, 2.1.8, 2.1.3)</p>
  
  <p>Rails configurations</p>
  
  <h2>compass.rb</h2>
  
  <pre><code>require 'compass'
  require 'compass-colors'
  require 'fancy-buttons'
  
  
  # If you have any compass plugins, require them here.
  Compass.configuration.parse(File.join(RAILS_ROOT, "config", "compass.config"))
  Compass.configuration do |config|
    config.project_path = RAILS_ROOT
    config.sass_dir = "app/stylesheets"
    config.css_dir = "public/stylesheets/compiled"
  end
  
  Compass.configuration.environment = RAILS_ENV.to_sym
  Compass.configure_sass_plugin!
  </code></pre>
  
  <hr>
  
  <h2>compass.config</h2>
  
  <pre><code># Require any additional compass plugins here.
  
  project_type = :rails
  project_path = RAILS_ROOT if defined?(RAILS_ROOT)
  # Set this to the root of your project when deployed:
  http_path = "/"
  css_dir = "public/stylesheets/compiled"
  sass_dir = "app/stylesheets"
  images_dir = "public/images"
  javascripts_dir = "public/javascripts"
  
  # To enable relative paths to assets via compass helper functions. Uncomment:
  # relative_assets = true
  http_images_path = "/images"
  http_stylesheets_path = "/stylesheets"
  http_javascripts_path = "/javascripts"
  </code></pre>
  
  <h2>this is some information about compass:</h2>
  
  <pre><code>doug:aggio davide$  ./script/runner "require 'pp'; pp Sass::Plugin.options" 
  {:style=&gt;:expanded,
   :line_comments=&gt;true,
   :css_location=&gt;"/Users/davide/Code/aggio/public/stylesheets",
   :cache_location=&gt;"/Users/davide/Code/aggio/tmp/sass-cache",
   :template_location=&gt;"/Users/davide/Code/aggio/app/stylesheets",
   :always_update=&gt;false,
   :always_check=&gt;true,
   :full_exception=&gt;true}
  </code></pre>
  
  <p>the main problem is the template location(compass libraries?).
  when i import blueprint.sass or other resources exaple fancy buttons, compass doesn't find libraries and return this</p>
  
  <p>File to import not found or unreadable: blueprint.sass</p>
  
  <p>But if i copy blueprint and compass libraries inside /app/stylesheets it works good.
  My question is: i need every time to extract libraries from compass gems, or there is a problem with paths?</p>