Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > I can't use DBI with ruby mingw32 on windows

Reply
Thread Tools

I can't use DBI with ruby mingw32 on windows

 
 
Marco Mastrodonato
Guest
Posts: n/a
 
      08-25-2009
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:BD::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?
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ruby 1.9.2-p0 mingw32 on vista 64 -- interpreter crashes callingthread.join Kevin D. Ruby 1 10-14-2010 09:49 PM
Sqlite3-ruby ON Windows Vista with 1.9.1p129 mingw32 J. D. Ruby 12 06-01-2009 05:33 PM
DBI Mysql storing DBI:binary, trouble with character 26 Jerome Hauss Ruby 0 10-13-2004 03:04 PM
DBI and DBI::Oracle packages configuration ulloa Perl 1 07-22-2004 05:52 PM
How to Build Python 2.3.3 C/C++ Extensions in Windows Using Mingw32 C. Barnes Python 2 05-20-2004 09:39 PM



Advertisments