Skip to content

Instantly share code, notes, and snippets.

@puyo
Created September 6, 2011 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save puyo/1196484 to your computer and use it in GitHub Desktop.
Save puyo/1196484 to your computer and use it in GitHub Desktop.
Rails 3.1 + Sprockets + Compass
# config/application.rb
# Rails 3.1 and Sprockets and Compass fix
config.sass.load_paths << "#{Rails.root}/app/assets/stylesheets"
config.sass.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
config.sass.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/blueprint/stylesheets"
gem 'haml-rails', '~> 0.3'
gem 'rails', '~> 3.1'
group :assets do
gem 'compass', '~> 0.11'
gem 'sass-rails', '~> 3.1'
gem 'coffee-rails', '~> 3.1'
gem 'uglifier', '~> 1.0'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment