Created
April 8, 2009 11:46
-
-
Save fd/91733 to your computer and use it in GitHub Desktop.
Update passenger+rails on centos5
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
sudo gem update rails | |
sudo gem update passenger | |
sudo passenger-install-apache2-module |
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
# In /etc/httpd/conf/httpd.conf aan het einde van de file | |
##################################################################### | |
# RAILS CONF FOR PHUSION GEM | |
##################################################################### | |
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.1.3/ext/apache2/mod_passenger.so | |
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.1.3 | |
PassengerRuby /usr/bin/ruby | |
##################################################################### |
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
sudo /etc/init.d/httpd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment