Service assets began to create this error today:
!! Rack application returned nil body. Probably you wanted it to be an empty string? !! Unexpected error while processing request: undefined method `each' for nil:NilClass
I use coffeescript and SCSS (application.js.coffee and application.css.scss)
From the gemfile:
group :assets do gem 'sass-rails', '~> 3.2.3' gem 'compass-rails' gem 'coffee-rails', '~> 3.2.1' gem 'marionette-rails' gem 'uglifier', '>= 1.0.3' end
Using ruby 1.9.3-p392 and 1.9.3-p125 causes this problem. The Google results for this error are close to nonexistent.
source share