Single quotes are required for non-interpolated string literals on some
projects. If the Gemfile has been converted to use single quotes,
including commented lines, then uncomment_lines will fail to find it.
(This may be a corner case — RuboCop will not alter the quotes in the commented line, but a developer may have done it manually, perhaps by using their IDE's "convert quotes" functionality.)
Single quotes are required for non-interpolated string literals on some projects. If the Gemfile has been converted to use single quotes, including commented lines, then
uncomment_lines
will fail to find it.(This may be a corner case — RuboCop will not alter the quotes in the commented line, but a developer may have done it manually, perhaps by using their IDE's "convert quotes" functionality.)