User Tools

Site Tools


build:rails

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
build:rails [2010/07/29 23:41]
99.100.133.164 old revision restored
build:rails [2012/12/10 22:41] (current)
Line 162: Line 162:
  
 <code bash> <code bash>
 +OLD_PASSENGER_ROOT=`passenger-config --root`
 sudo gem update sudo gem update
-OLD_VERSION=2.2.5 +NEW_PASSENGER_ROOT=`passenger-config --root`
-NEW_VERSION=2.2.9+
 sudo passenger-install-apache2-module ;# NOTE: Interactive process; will take a couple minutes to compile. sudo passenger-install-apache2-module ;# NOTE: Interactive process; will take a couple minutes to compile.
-sudo sed -i -e "s/passenger-$OLD_VERSION/​passenger-$NEW_VERSION/​g" /​etc/​apache2/​mods-available/​passenger.load +sudo sed -i -e "s|$OLD_PASSENGER_ROOT|$NEW_PASSENGER_ROOT|g" /​etc/​apache2/​mods-available/​passenger.load 
-sudo sed -i -e "s/passenger-$OLD_VERSION/​passenger-$NEW_VERSION/​g" /​etc/​apache2/​mods-available/​passenger.conf+sudo sed -i -e "s|$OLD_PASSENGER_ROOT|$NEW_PASSENGER_ROOT|g" /​etc/​apache2/​mods-available/​passenger.conf
 sudo /​etc/​init.d/​apache2 force-reload sudo /​etc/​init.d/​apache2 force-reload
 </​code>​ </​code>​
build/rails.txt · Last modified: 2012/12/10 22:41 (external edit)