I can't use DBI with ruby mingw32 on windows

M

Marco Mastrodonato

I use DBI :version => 0.4.1 with
activerecord-sqlserver-adapter-1.0.0.9250 on both ruby's version. The
same rails application that works on mswin32, doesn't work on mingw32, i
obtain this message:

Unable to load driver 'ADO' (underlying error: uninitialized constant
DBI::DBD::ADO)

i can't find where this constant must be initialized.

if i remove the ADO.rb from mswin32 version path:
C:\ruby\ruby-186p287\lib\ruby\site_ruby\1.8\DBD\ADO\ADO.rb

i get this different message:

Could not load driver (no such file to load --
C:/ruby/ruby-186p287/lib/ruby/site_ruby/1.8/dbd/ADO)

Does anyone had similar trouble?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top