@kyanny's blog

My thoughts, my life. Views/opinions are my own.

Redmine を Passenger で動かす (on Mac OSX Leopard)

Passenger (mod_rails for Apache) を使ってRedmineを動かしてみたよ! - 元RX-7乗りの適当な日々 ほぼそのまんま。

$ sudo gem install passenger
$ passenger-install-apache2-module
$ sudo vi /etc/apache2/httpd.conf

/etc/hosts

127.0.0.1 redmine.localhost

httpd.conf

# passenger
LoadModule passenger_module /Users/kyanny/.gem/ruby/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so
PassengerRoot /Users/kyanny/.gem/ruby/1.8/gems/passenger-2.2.4
PassengerRuby /usr/local/bin/ruby

<VirtualHost redmine.localhost>
    DocumentRoot /Users/kyanny/redmine/public
    <Directory />
        Options FollowSymlinks
        AllowOverride None
        Order deny,allow
    </Directory>
</VirtualHost>