Compass / compass-rails

compass rails integration
MIT License
591 stars 276 forks source link

Assets under vendor/assets and from gem's are not compiling. #131

Closed baxang closed 10 years ago

baxang commented 10 years ago

After https://github.com/Compass/compass-rails/pull/129 assets of neither from other gems and under vendor/assets are compiled. I guess sass_options are not correctly set, but cannot figure out how to fix this.

$ bundle exec compass watch
>>> Change detected at 11:50:55 to: active_admin.css.scss
    error app/assets/stylesheets/active_admin.css.scss (Line 13: File to import not found or unreadable: active_admin/mixins.
Load paths:
  /Users/shpark/Projects/projectc/app/assets/stylesheets
  /Users/shpark/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/blueprint/stylesheets
  /Users/shpark/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets
  Compass::SpriteImporter)
overwrite public/stylesheets/active_admin.css
NoMethodError on line ["32"] of /Users/shpark/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sass-rails-3.2.3/lib/sass/rails/helpers.rb: undefined method `[]' for nil:NilClass
Run with --trace to see the full backtrace
>>> Compass is polling for changes. Press Ctrl-C to Stop.
baxang commented 10 years ago

Possibly related to https://github.com/rails/rails/issues/11759 ?