Skip to content

Instantly share code, notes, and snippets.

@fd
Created April 8, 2009 11:46
Show Gist options
  • Save fd/91733 to your computer and use it in GitHub Desktop.
Save fd/91733 to your computer and use it in GitHub Desktop.
Update passenger+rails on centos5
sudo gem update rails
sudo gem update passenger
sudo passenger-install-apache2-module
# 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
#####################################################################
sudo /etc/init.d/httpd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment