Someone suggested this monkey patch:
module Sass
class Engine
def initialize(template, options={})
@options = self.class.normalize_options(options)
@options[:debug_info] = true
@template = template
end
end
end
Monkey patch works, but I think it works even better: https://github.com/rails/sass-rails/pull/181
Now you need to pull the rails from the main branch.
group :development, :test do
gem 'sass-rails', '~> 4.0.0', git: 'https://github.com/rails/sass-rails.git', branch: 'master'
end
source
share