Quick Plesk Rails
To install on your site an application written in Ruby:
1. On your Home page, select the domain name you need, then, under Hosting, click Setup.
2. Select the CGI and FastCGI check boxes, and click OK.
3. Connect to your FTP account, change to the httpdocs directory.
4. Upload the application files to the httpdocs/ directory.
5. Create a file with name .htaccess in this directory, open it with a text editor of your choice and add the following lines into the file:
RewriteEngine On
RewriteRule ^$ /public/index.html [L]
RewriteCond %{REQUEST_URI} !^/public
RewriteRule ^(.*)$ /public/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ public/dispatch.fcgi/$1 [QSA,L]
6. Save the file.
7. Remove the file public/.htaccess
8. Open the file public/dispatch.fcgi with a text editor and put the following lines there#!/usr/bin/ruby
9. Save the file.
Now the web application will be accessible at the following URL: http://yourdomain.com/.