CPanel Easy Apache 4 application Manager https://documentation.cpanel.net/display/72Docs/Application+Manager can be used to configure Ruby Web applications, LiteSpeed can run those applications directly. The only step required to get it ready is:
/usr/local/lsws/admin/misc/enable_ruby_python_selector.sh
once.