haml / haml-rails

let your Gemfile do the talking
MIT License
1.04k stars 169 forks source link

Fix "Rails::SourceAnnotationExtractor is not a class/module" in Rails 6 #146

Closed somenugget closed 5 years ago

somenugget commented 5 years ago

When using gem with Rails 6, error Rails::SourceAnnotationExtractor is not a class/module (TypeError) raise on startup. PR fixes it.

syguer commented 5 years ago

Ref: https://github.com/rails/rails/pull/32065 Fixes: #148

radar commented 5 years ago

Seems like a sensible fix. Thank you!