Вы находитесь на странице: 1из 2

LoadModule passenger_module /usr/local/lib/ruby/gems/2.0/gems/passenger-5.0.

PassengerRoot /usr/local/lib/ruby/gems/2.0/gems/passenger-5.0.14
PassengerRuby /usr/local/bin/ruby20
LoadModule passenger_module /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14
<IfModule mod_passenger.c>
PassengerRoot /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14
PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby
qwwwwwwww--LoadModule passenger_module /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14
<IfModule mod_passenger.c>
PassengerRoot /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14
PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby
* Checking whether this Passenger install is in PATH...
* Checking whether there are no other Passenger installations... (!)
You are currently validating against Phusion Passenger 5.0.14, located in:
Besides this Passenger installation, the following other
Passenger installations have also been detected:
Please uninstall these other Passenger installations to avoid
confusion or conflicts.
* Checking whether Apache is installed...
* Checking whether the Passenger module is correctly configured in Apache...
Incorrect Passenger module path detected
Phusion Passenger for Apache requires a 'LoadModule passenger_module'
directive inside an Apache configuration file. This directive has been
detected in the following config file:
However, the directive refers to the following Apache module, which is wrong:
Please edit the config file and change the directive to this instead:
LoadModule passenger_module /usr/local/rvm/gems/ruby-2.2.0/gems/passenger5.0.14/buildout/apache2/mod_passenger.so
Detected 1 error(s), 1 warning(s).

Please solve the above issues, then press ENTER to continue.

-------------------------------------------Deploying a web application: an example
Suppose you have a web application in /somewhere. Add a virtual host to your
Apache configuration file and set its DocumentRoot to /somewhere/public:
<VirtualHost *:80>
ServerName www.yourhost.com
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /somewhere/public
<Directory /somewhere/public>
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
#Require all granted
And that's it! You may also want to check the Users Guide for security and
optimization tips, troubleshooting and other useful information:
/usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14/doc/Users guide Apache.ht
Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-)
Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.