Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Rails 3.1 & A.P.: Sprite creation fails because of missing Logger #567

ChristianPeters opened this Issue Sep 22, 2011 · 6 comments


None yet
7 participants

Environment: Rails 3.1.0, current chriseppstein/compass master branch, sass-rails 3.1.0; I created a blank rails app with asset pipeline enabled and specified a simple sprite in application.css.sass.

Stylesheet compilation fails on the following three lines with 'undefined method nil.[]':

If I comment out these lines or set sass_options = {quiet: true} in my config/compass.rb, everything is fine.

Setting logger = STDOUTin config/compass.rb did not help.


scottdavis commented Sep 22, 2011

damnit chris! /cc @chriseppstein !

pzgz commented Sep 25, 2011

Thanks, this did help me out, just for correction, the option should be 'sass_options = {quite: true} ', that's a typo for 'quite'

qnm commented Sep 26, 2011

Using :quiet => true didn't work for me. I used

sass_options = { :compass => { :logger => Compass::NullLogger.new } }

instead - ymmv.


chriseppstein commented Sep 26, 2011

Fixed by fecc982

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment