Ich habe gerade ein paar Infos zu Plesk und Ruby on Rails gefunden. Allerdings kann ich noch nicht bestätigen, ob die beschriebene Anleitungauf funktioniert …
Go to your domain that you want to adjust, and click Setup. Make sure the CGI and FastCGI options are enabled. Pick a name for your application and make the directory for your application in the httpdocs directory. Upload your files to that directory.
Once you’ve done that, create an .htaccess file in the httpdocs directory with the following text inside:
RewriteEngine On
RewriteRule ^$ /public/index.html [L]
RewriteCond % !^/railsapp/public
RewriteRule ^(.*)$ /public/$1 [L]
RewriteCond % !-f
RewriteRule ^(.*)$ public/dispatch.fcgi/$1 [QSA,L]Remove the .htaccess file within the public directory of your application and add a file called dispatch.fcgi to that directory which contains:
#!/usr/bin/ruby
You should be able to access your application at http://domain.com/railsapp/
Thx Major Hayden 4 the information :)
Kurzes Update: Dieser Weg hat bei mir nur seeeehr bedingt funktioniert. Deshalb bin ich nun einen anderen Weg gegangen, der ausgezeichnet funktioniert. Das Stichwort lautet Phusion Passenger (aka mod_rails). Hiermit kann Rails mit dem Apache2 zwangsverheiratet werden ;)
Hier ein Auszug von modrails.com
————————————————
Phusion Passenger™ — a.k.a. mod_rails or mod_rack — makes deployment of Ruby web applications, such as those built on the revolutionary Ruby on Rails web framework, a breeze. It follows the usual Ruby on Rails conventions, such as “Don’t-Repeat-Yourself”.
•Deployment is only a matter of uploading application files. No Ruby (on Rails)-specific server configuration required!
•Supports both the industry standard Apache web server and the fast and lightweight Nginx web server.
•Allows Ruby on Rails applications to use about 33% less memory, when used in combination with Ruby Enterprise Edition (optional).
•Zero maintenance. No port management, server process monitoring or stale file cleanup required. Errors are automatically recovered whenever possible.
•Designed for performance, stability and security. Phusion Passenger should never crash Apache even in case of crashing Rails applications.
•Well-documented, for both system administrators and developers!