Someone suggested this monkey-patch:
# Had to use this instead as per comment by @glebtv https://github.com/rails/sass-rails/issues/157
module Sass
class Engine
def initialize(template, options={})
@options = self.class.normalize_options(options)
@options[:debug_info] = true
@template = template
end
end
end
The monkey-patch works, but I think this works even better: https://github.com/rails/sass-rails/pull/181
For now, you have to pull in rails-sass from the master branch.
group :development, :test do
gem sass-rails , ~> 4.0.0 , git: https://github.com/rails/sass-rails.git , branch: master
end