Skip to content

Instantly share code, notes, and snippets.

@frank-who
Created December 21, 2011 12:19
Show Gist options
  • Save frank-who/1505829 to your computer and use it in GitHub Desktop.
Save frank-who/1505829 to your computer and use it in GitHub Desktop.
Fix for "File to import not found or unreadable: compass"
#...
require 'rails/all'
require 'sass-rails'
#...
module App
class Application < Rails::Application
config.sass.load_paths ||= []
config.sass.load_paths << "#{Rails.root}/app/assets/stylesheets"
config.sass.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment