Created
June 23, 2011 16:23
-
-
Save jacquescrocker/1042904 to your computer and use it in GitHub Desktop.
compass hack for rails 3.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'sass-rails', :git => "https://github.com/rails/sass-rails.git" | |
gem 'compass', :git => 'https://github.com/chriseppstein/compass.git', :branch => 'rails31' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/initializers/sass.rb | |
# THIS IS NO LONGER NEEDED (thanks @heisenthought!) | |
# require 'sass' | |
# require 'sass/plugin' | |
# module Compass | |
# end | |
# require 'compass/browser_support' | |
# require 'compass/configuration' | |
# require 'compass/sass_extensions' | |
# | |
# Sass::Engine::DEFAULT_OPTIONS[:load_paths].tap do |load_paths| | |
# load_paths << "#{Rails.root}/vendor" | |
# end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whoa, much better :)