Следующий кодЧто такое "Неоднозначное регулярное выражение" в rubocop?
expect(foo).to match /#{MyGem.config.environment_name}/
вызывает возникает проблема rubocop
Warning: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the/if it should be a division.
Может кто-то объяснить, что проблема и как решить ее?