CGIでRailsをまともに動かすの内容を試してみた。対象は Redmine。 とりあえず、fcgi と ruby-fcgi をインストールする。 $ cd fcgi-2.4.0 $ ./configure --prefix=$HOME/local $ make && make install $ gem install fcgi -- --with-fcgi-include=$HOME/local/include 後は、記事にあるように public/gateway.cgi と script/listener、script/tracker をコピーして、一部修正。 それから、サイトのトップで動作させるわけじゃないので、mongrel での --prefix 相当の動作をさせるために、次の修正をした。 config/environments/production.rb: ActionCon