-
Notifications
You must be signed in to change notification settings - Fork 331
Closed
Description
I'm trying to get compass to run with 3.1.0.rc2/sass-rails: Previously (rails 3.1.0.rc1), I had a sass.rb
in config/initializers
, that made the compass-framework-scss available like this:
Sass::Engine::DEFAULT_OPTIONS[:load_paths].tap do |load_paths|
load_paths << "#{Rails.root}/app/assets/stylesheets"
load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/blueprint/stylesheets"
end
That was already a bit hackish, but at least it worked - now with 3.1.0.rc2 and sass-rails I'm getting
'''
Sass::SyntaxError: File to import not found or unreadable: blueprint.
'''
for all the compass-stylesheets. If have seen, that sass-options are now set via config.sass.<option>
- but the simplistic:
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"
is not working, as config.sass.load_paths
is nil. Any ideas how to feed sass-rails these additional paths?!
Metadata
Metadata
Assignees
Labels
No labels