Search

Search for:
Language:  

No categories for selected product

I want to use ruby web application however I cannot find "Ruby on Rails" button anywhere to activate it on my domain. How can I activate the option?

Article ID: 5489 
Last Review: May, 14 2012
Views:
APPLIES TO:
  • Parallels Plesk Panel for Linux/Unix

Resolution

Since version 8.1 Plesk Control Panel supports Ruby on Rails. There is no an option in Plesk Control Panel that should be  checked to enable Ruby on Rails support, it is only enough to get ruby packages installed.

To install on your site an application written in Ruby:

1. Go to Domains > your-domain.com > Setup.
2. Select the CGI and FastCGI check boxes, and click OK.
3. Connect to your 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 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} !^/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 file your_application/public/.htaccess
8. Open the file your_application/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://your-domain.com/your_application.

AdditionalInformation

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

http://download1.swsoft.com/Plesk/Plesk8.4/Doc/en-US/plesk-8.4-unix-administrators-guide/index.htm
Serving Your Customers -> Hosting Web Sites ->  Installing Applications ->  Installing Ruby Web Applications





Email subscription for changes to this article Email subscription for changes to this article

Please provide feedback on this article

* Did this article help you solve your issue?
Yes
No
What can we do to improve this article?

PLEASE NOTE: Knowledge Base feedback is reviewed occasionally and we do not reply to most of the individual comments. Please contact us using one of the Support channels for a response to any support inquiries. We appreciate your feedback.

Subscribe me for article updates. My email
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
For Developers
For Health Care
 
Desktop Virtualization
- Parallels Desktop 7 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Workstation
- Parallels Workstation Extreme
- Parallels Desktop for Mac Enterprise Edition
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac 4.0 Mac mini Edition
- Parallels Server for Mac Bare Metal Edition
- Parallels Server Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Parallels Partner Storefront
More Products