Article ID: 5489, created on Jul 22, 2008, last review on Nov 2, 2014

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 10.4 for Linux/Unix


Parallels Plesk 8.1, 9, 10, 11.0 (not Plesk 11.5 and later) supports Ruby on Rails. For Plesk 12 there is a workaround described on Plesk DevBlog.

There is no option in Plesk that should be checked to enable Ruby on Rails support. It is only needed to install the Ruby packages.

To install an application written in Ruby, take the following steps:

  1. Go to Domains > domain.tld > Setup.
  2. Select the CGI and FastCGI check-boxes and click OK.
  3. Connect to domain's FTP account, change to the /htdocs directory, and create a subdirectory where the application files will reside. Let's call this directory your_application, for illustration purposes.
  4. Upload the application files to the htdocs/your_application directory.
  5. Create a file with the name .htaccess in this directory, open it with a text editor, and add the following lines into the file:

     RewriteEngine On
     RewriteRule ^$ /public/index.html [L]
     RewriteCond %\{REQUEST\_URI\} !^/your\_application/public 
     RewriteRule ^(.\*)$ /public/$1 [L]
     RewriteCond %\{REQUEST\_FILENAME\} !-f
     RewriteRule ^(.\*)$ public/dispatch.fcgi/$1 [QSA,L] 
  6. Save the file.
  7. Remove the your_application/public/.htaccess file.
  8. Open the your_application/public/dispatch.fcgi file with a text editor and put the following lines there: #!/usr/bin/ruby
  9. Save the file.

The web application will now be accessible at the following URL:

Additional Information

Refer to Plesk documentation for details about installation of a Ruby on Rails application.

Plesk 9.5

Serving Customers > Hosting Web Sites > Installing Applications > Installing Ruby Web Applications.

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c e8756e9388aeca36710ac39e739b2b37 dd0611b6086474193d9bf78e2b293040 aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF