Last active
December 23, 2015 13:19
-
-
Save jirikolarik/6641740 to your computer and use it in GitHub Desktop.
Update Passenger
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
# Update passenger | |
gem update passenger | |
# Show available passengers | |
gem list passenger | |
# Uninstall old passengers | |
gem uninstall passenger -v 4.0.18 | |
# Install new Apache module | |
rvmsudo passenger-install-apache2-module | |
# Update config | |
sudo nano /etc/apache2/mods-available/passenger.conf | |
# With | |
PassengerRoot /usr/local/rvm/gems/ruby-2.0.0-p247/gems/passenger-4.0.18 | |
PassengerDefaultRuby /usr/local/rvm/wrappers/ruby-2.0.0-p247/ruby | |
# And load | |
sudo nano /etc/apache2/mods-available/passenger.load | |
# with | |
LoadModule passenger_module /usr/local/rvm/gems/ruby-2.0.0-p247/gems/passenger-4.0.18/buildout/apache2/mod_passenger.so | |
# Restart Apache | |
/etc/init.d/apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment