Created
July 3, 2014 03:33
-
-
Save tauil/c3fc391f7b25989c2cfa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Definitive solution for apache production setup! | |
LoadModule passenger_module /home/vagrant/.gems/gems/passenger-4.0.45/buildout/apache2/mod_passenger.so | |
<IfModule mod_passenger.c> | |
PassengerRoot /home/vagrant/.gems/gems/passenger-4.0.45 | |
PassengerDefaultRuby /usr/bin/ruby2.1 | |
</IfModule> | |
# Snippet for passenger module installed with sudo, but this is not needed | |
# LoadModule passenger_module /var/lib/gems/2.1.0/gems/passenger-4.0.45/buildout/apache2/mod_passenger.so | |
# <IfModule mod_passenger.c> | |
# PassengerRoot /var/lib/gems/2.1.0/gems/passenger-4.0.45 | |
# PassengerDefaultRuby /usr/bin/ruby2.1 | |
# </IfModule> | |
SetEnv GEM_HOME /home/vagrant/.gems/ | |
SetEnv PATH $PATH:$GEM_HOME/bin | |
SetEnv HOME /home/vagrant | |
PassengerDefaultUser vagrant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment