hi, folks, I have been hacking away at this thing for a number of
hours now, and have found no solution. I have absolutely no idea what
happened here, but I do know for a fact that this has always been
working all along. I have ruby (from source), sqlite (from source),
gems, and the sqlite3-ruby gem installed, but try as I might, i keep
hitting into this error. What’s wrong?
==========
ruby -e “require ‘sqlite3’”
-e:1:in `require’: no such file to load – sqlite3 (LoadError)
==========
irb
irb(main):001:0> require ‘sqlite3’
LoadError: no such file to load – sqlite3
from (irb):1:in `require’
from (irb):1
===========
I have tried installing, uninstalling, and reinstalling all the
components (ruby, sqlite, gems, sqlite3-ruby gem)… all to no avail.
I have even (just to be sure), scrubbed the /usr/local/lib/ruby
directory clean once (since there is no ‘make uninstall’ for a lot of
the components), and then reinstalling everything all over again. No
luck. Is there something that i am missing here?
And to top it all off, the ridiculous thing is that a freshly
generated rails instance, with an sqlite3 adapter can still work - I
can still generate migrations, run the migrations, and use the
‘sqlite3’ binary to check the db to see that the table has been
created!
Has somebody help me here, pls?
thanks,
-jf
–
“It’s so hard to write a graphics driver that open-sourcing it would not
help.”
– Andrew Fear, Software Product Manager, NVIDIA Corporation