I have several ERB files that have dash in the filename which cause:
Exception occurred when processing: lib/pdfs/templates/xyz/discounts-savings_table/additional-pairs-of.svg.erb
If this file cannot be processed by erb_lint, you can exclude it in your configuration file.
undefined method `begin' for an instance of RuboCop::Cop::Offense::PseudoSourceRange
If I rename the file to use underscores instead of dashes it parses fine OR if the file contains dashes in the name, but contains no ERB it parses fine.