The latest version of rubocop has changed the namespace for suppressing exceptions. This resolves the issue and prevents rubocop raising
Inspecting 12 files
.W.....os_map_ref.gemspec: Metrics/LineLength has the wrong namespace - should be Layout
os_map_ref.gemspec: Metrics/LineLength has the wrong namespace - should be Layout
.....
Offenses:
Rakefile:14:1: W: Lint/RedundantCopDisableDirective: Unnecessary disabling of Lint/HandleExceptions (unknown cop).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rakefile:21:1: W: Lint/SuppressedException: Do not suppress exceptions. (https://rubystyle.guide#dont-hide-exceptions)
rescue LoadError
^^^^^^^^^^^^^^^^
12 files inspected, 2 offenses detected
The latest version of rubocop has changed the namespace for suppressing exceptions. This resolves the issue and prevents rubocop raising