フォーチュンサモナーズ
«前の日記(2006-01-24) 最新 次の日記(2006-01-31)» 編集

Don'tStopMusic

2003|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|12|
2006|01|02|03|04|05|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|08|09|10|

カテゴリ別 2003年 | 2004年 | 2005年 | 2006年 | 2007年 | 2008年

知り合いサイト: よんだもの / 暴想 / Linuxでやる夫 / 新宿Vipper / 僕だけが幸せになればいいのに。


2006-01-25

_ [Rails] lighttpd + fcgi で each_cgi なるメソッドは知らないといわれる このエントリーを含むブックマーク

lighttpd + fcgi な環境で rails アプリを実行しようとしたところ以下のようなエラーが fastcgi.crash.log に出力されました。ちょっとはまったのでメモ。

[25/Jan/2006:14:13:01 :: 17832] Dispatcher failed to catch: undefined method `each_cgi' for FCGI:Class (NoMethodError)
  /usr/local/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!'
  /usr/local/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!'
  /usr/local/webapps/test/public/dispatch.fcgi:24
almost killed by this error

解決方法は TextDrive Community Forum / lighttpd & fastcgi probs on Fedora にある通り。ruby-fcgi を gem でインストールせず、tarball からインストールし直せば OK です。

[]

最近のコメント:

RSS
Creative Commons License
This work is licensed under a Creative Commons License
(note: text only. w/o web design, citations, (re)distributed softwares).