dbi - install - connect error

Paul Vudmaska <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby,gmane.comp.lang.ruby.general
Message-ID <[email protected]>

I've just installed dbi on a new host.  The install seemed to go 
well...--with mysql, etc. No errors.

I'm getting this error trying to connect.

* is not a class/module*

/usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:490:in `load_driver'
/usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:392:in `_get_full_driver'
/usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:372:in `connect'
/usr/local/www/test.daspeachhaus.com/www/default.rbx:12
/usr/local/lib/ruby/site_ruby/1.8/apache/ruby-run.rb:70:in `load'
/usr/local/lib/ruby/site_ruby/1.8/apache/ruby-run.rb:70:in `handler'

Here is my file:

#>default.rbx

#!/usr/local/bin/ruby18/

begin

    require 'cgi'
    cgi = CGI.new
    cgi.header('content-type'=>'text/html')
   
    puts '<html><body>'

    require 'dbi'
    DBI.connect("dbi:Mysql:database:host",'usr','pwd')
   
   
    puts '</body></html>'

rescue Exception
   
    $stdout.cancel
   
    se = '<b>' + $!.to_s + '</b><p/>' + [email protected]('<br/>')
   
    puts <<-EOS
        <html>
        <body>
        #{se}
        </body>
        </html>   
    EOS

end

Any ideas where I might look to figure this out?

BTW : For anyone looking for a ruby host, you _might_ want to check out 
hub.org. They use a virtual machine...meaning.
1) you dont have to worry about sharing the interp w/other hosts
2) you have root access

But they do not have a lot of experience w/ruby.

thank you for any help,
:Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.