reponの勉強メモ

主に勉強したことのメモです。

passengerのupdateをした時にすべきこと

すぐ忘れてしまうのでメモです。

% sudo passenger-install-apache2-module

を実行。

最後に現れる

Please edit your Apache configuration file, and add these lines:

の後の数行
例(環境によって異なります)

LoadModule passenger_module /usr/local/lib/ruby/gems/1.9/gems/pa
ssenger-3.0.19/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.9/gems/passenger-3.0.19
PassengerRuby /usr/local/bin/ruby19

httpd.confに貼り付けて、apacheを再起動。