FS#28033 - [passenger]: Installation provides helpful text - but paths don't fit.
Attached to Project:
Community Packages
Opened by Andreas Krüger (kardech) - Saturday, 21 January 2012, 17:53 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 14 March 2012, 13:33 GMT
Opened by Andreas Krüger (kardech) - Saturday, 21 January 2012, 17:53 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 14 March 2012, 13:33 GMT
|
Details
Description:
The Arch Linux passenger installation provides a helpful "getting started" message appreciated by this user. This message implies that the files have all been installed below /var/aur, which is not the case. The message would be somewhat more helpful if the paths were adjusted to reflect what is actually installed. Workaround is easy, of course: Look at output of pacman -Ql passenger Regards, and thank you for providing fine software, Andreas Here is an example of that message, as seen installing passenger-3.0.11-1 : 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 Steps to reproduce: sudo pacman -R passenger && sudo pacman -S passenger |
This task depends upon
Closed by Sergej Pupykin (sergej)
Wednesday, 14 March 2012, 13:33 GMT
Reason for closing: Fixed
Additional comments about closing: /var/aur paths replaced
Wednesday, 14 March 2012, 13:33 GMT
Reason for closing: Fixed
Additional comments about closing: /var/aur paths replaced