カテゴリ別 2003年 | 2004年 | 2005年 | 2006年 | 2007年 | 2008年
知り合いサイト: よんだもの / 暴想 / Linuxでやる夫 / 新宿Vipper / 僕だけが幸せになればいいのに。
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
![]()
This work is licensed under a
Creative Commons License
(note: text only. w/o web design, citations, (re)distributed softwares).