Troubleshooting Ruby, Netbeans, sqljdbc

Discussion in 'Ruby' started by Victor Torres, Mar 20, 2009.

  1. Hello everyone,
    I posting this after doing a good deal of unsuccessful researches.

    I am running windows with ruby 2.3.2 and working with netbeans. I just
    switch my project from running on the built-in ruby of nb, and now the
    application give me this weird error:
    ...ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in
    `establish_connection': Please install the jdbc adapter: `gem install
    activerecord-jdbc-adapter` (no such file to load -- java) (RuntimeError)

    I have installed activerecord-jdbc-adapter 0.9.1 and I get the same
    error. I downloaded the sqljdbc.jar but I don't know where to place it!
    I read somewhere that it needs to be in the lib folder. Can anyone who
    knows be more specific? last time I checked there were about 16 lib
    folder within the ruby folder!

    I have the same problem on a Mac running Leopard, so I believe it has to
    do with the jar file, but don´t take my word for it. If you have any
    idea please let me know! My brain hurts !

    Thank you
    --
    Posted via http://www.ruby-forum.com/.
    Victor Torres, Mar 20, 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. =?Utf-8?B?TG9yaSBNY0RvbmFsZA==?=

    Troubleshooting Object Reference Not Set to Instance of an Object

    =?Utf-8?B?TG9yaSBNY0RvbmFsZA==?=, Apr 9, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    467
    MS News \(MS ILM\)
    Apr 10, 2004
  2. darrel
    Replies:
    2
    Views:
    1,949
    Guest
    Jan 18, 2005
  3. Pimousse
    Replies:
    2
    Views:
    3,620
    Roedy Green
    Apr 21, 2004
  4. Ilias Lazaridis
    Replies:
    0
    Views:
    897
    Ilias Lazaridis
    Dec 12, 2004
  5. Thomas G. Marshall
    Replies:
    2
    Views:
    815
    Thomas G. Marshall
    Oct 16, 2006
Loading...

Share This Page