Troubleshooting Ruby, Netbeans, sqljdbc

V

Victor Torres

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
 

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

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top