redmine

centosにインストール
lighttpdで動かすまで
1)rpmは削除してソースからインストール(適当ですんません。)

yum remove lighttpd lighttpd-fastcgi
yum install prce-devel
wget xxxx
tar -xvzf lighttpd-xxx
cd lighttpd-xxx
./configure
make
make install

ruby script/server -e production

/public/dispatch.fcgi No such file or directory

となる
ファイルはある。検索するとrubyのパスが違うという情報が。
しかし、これはあってる。
うーん

dos2unix dispatch.fcgi

うーん、起動した。
なんか設定ファイルも改行が変になってたりしたしぃ。
あとconfig/lighttpd.confでRAILS_ENVをproductionにしたよ。

"bin-environment" => ( "RAILS_ENV" => "production" )

うーん疲れた。