Well, either add patterns for both error formats to the syntax checker, or change the Ruby code to output identical error messages for both libraries.