服务资产今天已开始创建此错误:
!! 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
我正在使用咖啡脚本和 SCSS(application.js.coffee 和 application.css.scss)
来自 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
使用 ruby 1.9.3-p392 和 1.9.3-p125 会导致此问题。此错误的 Google 结果几乎不存在。