How to run Ruby as root within RubyMine

I have a application that is required to run as root.

How to I get RubyMine to execute the following when using the run command?

rvmsudo ruby <rubyscript>

Thanks,
Chad

Please sign in to leave a comment.