FS#28607 - [passenger] post_install message has the wrong paths
Attached to Project:
Community Packages
Opened by Andrea Scarpino (BaSh) - Thursday, 23 February 2012, 16:15 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 14 March 2012, 13:34 GMT
Opened by Andrea Scarpino (BaSh) - Thursday, 23 February 2012, 16:15 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 14 March 2012, 13:34 GMT
|
Details
Description:
The current post_install message specific the wrong paths: the mod_passenger.so is in both /usr/lib/httpd/modules/mod_passenger.so /usr/lib/passenger/ext/apache2/mod_passenger.so (why both are installed?) The PassengerRoot should be set to /usr/lib/passenger/ PassengerRuby should be set to /usr/bin/ruby The docs is installed in /usr/lib/passenger/doc "Please edit your Apache configuration file, and add these lines: LoadModule passenger_module /var/aur/passenger3/src/passenger-3.0.0/ext/apache2/mod_passenger.so PassengerRoot /var/aur/passenger3/src/passenger-3.0.0 PassengerRuby /opt/ruby1.8/bin/ruby After you restart Apache, you are ready to deploy any number of Ruby on Rails applications on Apache, without any further Ruby on Rails-specific configuration! Deploying a Ruby on Rails application: an example Suppose you have a Ruby on Rails application in /somewhere. Add a virtual host to your Apache configuration file, and set its DocumentRoot to /somewhere/public, like this: <VirtualHost *:80> ServerName www.yourhost.com DocumentRoot /somewhere/public # <-- be sure to point to 'public'! <Directory /somewhere/public> AllowOverride all # <-- relax Apache security settings Options -MultiViews # <-- MultiViews must be turned off </Directory> </VirtualHost> And that's it! You may also want to check the Users Guide for security and optimization tips, troubleshooting and other useful information: /var/aur/passenger3/src/passenger-3.0.0/doc/Users guide Apache.html" Additional info: * passenger 3.0.11-1 Steps to reproduce: Install passenger |
This task depends upon