Ruby on Rails button is missing on a domain. How to activate the option?


2016-11-16 12:53:07 UTC


2017-08-16 16:13:23 UTC


Was this article helpful?

Have more questions?

Submit a request

Ruby on Rails button is missing on a domain. How to activate the option?

Applicable to:

  • Plesk 10.x for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux
  • Plesk 9.x for Linux


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.

Have more questions? Submit a request
Please sign in to leave a comment.