In JetBrains RubyMine prior to 2021.1.1, code execution without user confirmation was possible for untrusted projects.
jetbrains rubymine