On Thu, 2002-10-10 at 20:52, Sean Chittenden wrote:
> Anyone been seeing this in their error logs? I foolishly upgraded
> mod_ruby, postgres (ruby module), PostgreSQL, DBD::Pg, and DBI all at
> the same time and am now getting the following:
>
> [Thu Oct 10 11:40:20 2002] [error] mod_ruby: error in ruby
> /usr/local/lib/ruby/site_ruby/1.7/DBD/Pg/Pg.rb:33:in `require': wrong argument type false (expected Module) (TypeError)
> from /usr/local/lib/ruby/site_ruby/1.7/DBD/Pg/Pg.rb:33
> from /usr/local/lib/ruby/site_ruby/1.7/dbi/dbi.rb:444:in `require'
> from /usr/local/lib/ruby/site_ruby/1.7/dbi/dbi.rb:444:in `load_driver'
> from /usr/local/lib/ruby/site_ruby/1.7/dbi/dbi.rb:384:in `_get_full_driver'
> from /usr/local/lib/ruby/site_ruby/1.7/dbi/dbi.rb:364:in `connect'
As line 33 contains "require 'postgres'" the problem is either in
postgres (ruby module) or PostgreSQL, but not DBI or DBD::Pg.
Try
% ruby -r postgres -e ""
Don't think that there's a problem with PostgreSQL.
Regards,
Michael
|