You can disable (and enable) any rubocop cop by adding the .rubocop.yml file to the root of your project folder and setting up the appropriate configurations. To find out what you can do, check out the global default.yml in your rubocop package. He fully commented.
For this specific task, create .rubocop.yml and ...
To completely shut down your computer:
Style/RegexpLiteral: Enabled: false
Always use %r :
Style/RegexpLiteral: EnforcedStyle: percent_r
source share