Index: [Article Count Order] [Thread]

Date:  Tue, 14 Sep 2004 10:02:12 +0900
From:  Shugo Maeda <shugo@...>
Subject:  Re: Sporadic errors with DBI
To:  modruby@... (modruby ML)
Message-Id:  <41464314.6000500@...>
In-Reply-To:  <20040913235635.GA16771@...>
References:  <20040913235635.GA16771@...>
X-Mail-Count: 01299

Hi,

mde@... wrote:
> /usr/lib/ruby/1.8/date/format.rb:6: Date is not a class (TypeError)

Any mod_ruby script or ruby libraries on your site defines Date as a 
module, doesn't it?

> [Mon Sep 13 07:42:58 2004] [error] mod_ruby: ./testscript.rb:182:in `dbConnTest': undefined method `connect' for DBI:Module (NoMethodError)
> [Mon Sep 13 07:42:58 2004] [error] mod_ruby:   from ./testscript.rb:65:in `testFunc'
> [Mon Sep 13 07:42:58 2004] [error] mod_ruby:   from /path/to/webdir/index.rbx:25
> [Mon Sep 13 07:42:58 2004] [error] mod_ruby:   from /path/to/webdir/index.rbx:23:in `out'
> [Mon Sep 13 07:42:58 2004] [error] mod_ruby:   from /path/to/webdir/index.rbx:23

Can you show me your index.rbx and testscript.rb?

Shugo