The first one might be a windows/linux issue: on linux, you can
chmod +x a script to make it executable, but that flag may not exist on windows.
The second one is a recommendation - it’s recommending you to use frozen strings, as that may become a default in future. See: https://rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
There’s a config file: in the gems folder “/rubocop-0.82.0/config/default.yml” where you can edit out the things you don’t want checked.
Style/StringLiterals and change the
Enabled line to false.
(I think I got too set in my ways, as I don’t like most of the suggestions rubocop makes!)