Help with SQLite3-ruby, please

A

Andy Me

Hello everybody! I'm Andy and I have a BIG and nasty problem with
SQLite-ruby module and I hope for some help here. The main problem is
that I am forced to use RUBY 1.8.0, because I'm building a plugin for
SketchUp (which uses Ruby 1.8.0 and no way to update it).
As gems can not be installed under Sketchup, i made a trick: installed
sqlite3-ruby gem under standard ruby and I toke all files with their
dependences. I am not 100% sure that I toke everything was needed and
those files are the right ones.I downloaded slqite3.dll version 6.16 and
tried to make things work. Well... somehow it works, but it gives me
errors.
I am forced to make to requests in my ruby file:
require 'sqlite3.rb' -this should normally be
require 'sqlite3.dll' -i think this should load from ruby extension when
it searches for driver, but if I don't ask for it, it raise this error:
"no driver for sqlite3 found".
If i make both requests, on first run, I recieve an other error: "The
specified procedure could not be found. - Init_sqlite3", but, when I
run it second time, it works!
I do not understand what is going on here.

Please help! I need a working SQLite3-ruby module, for RUBY 1.8.0, which
contains all dependences and can be used under SketchUp. And I do not
know what version sqlite3.dll to search.
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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top