Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The current post_install message specific the wrong paths:

the is in both /usr/lib/httpd/modules/ /usr/lib/passenger/ext/apache2/ (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/
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

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>
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

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

Closed by  Sergej Pupykin (sergej)
Wednesday, 14 March 2012, 13:34 GMT
Reason for closing:  Fixed