Search Type:
Search for:

Language:

Product:
Category:
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: Oct,6 2008
Author: Bezborodova Anastasiya
Last updated by: system APPLIES TO:
  • Plesk 8.1 for Linux/Unix
  • Plesk 8.2 for Linux/Unix
  • Plesk 8.3 for Linux/Unix
  • Plesk 8.4 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.

Additional information

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
Keywords: Ruby on Rails application


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products