Install your application normally. If you need dependencies to be installed, log in SSH with the user “admin” use the gem” command.
By default, your application is accessible via a URL such as http://your-virtualhost/public/. Most likely, you do not want the /public/ directory to be visible.
You need to create a .htaccess in the “htdocs” folder with the following setting:
RewriteEngine On RewriteRule ^$ /public/ [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /public/$1 [L]
Your application is now directly accessible via the URL http://your-virtualhost/.