I can't use DBI with ruby mingw32 on windows

Discussion in 'Ruby' started by Marco Mastrodonato, Aug 25, 2009.

  1. 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?
    --
    Posted via http://www.ruby-forum.com/.
     
    Marco Mastrodonato, Aug 25, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. orion30

    MSYS / MINGW32 / PYTHON / SWIG

    orion30, Jun 24, 2003, in forum: Python
    Replies:
    1
    Views:
    2,347
  2. C. Barnes
    Replies:
    2
    Views:
    1,979
    Roger Binns
    May 20, 2004
  3. J. D.
    Replies:
    12
    Views:
    177
    Roger Pack
    Jun 1, 2009
  4. Kevin D.
    Replies:
    1
    Views:
    116
    Roger Pack
    Oct 14, 2010
  5. Tim Haynes
    Replies:
    3
    Views:
    157
    Ron Reidy
    Sep 13, 2003
Loading...

Share This Page