Re: sqlite3 has gone...

Dj T@l
Fri, 21 Nov 2008 18:01:13 -0000

After reflecting here what iI think,

In fact when you use rubygems it add all lib folder of each gem to the
load path. So when you require sqlite3 the system try loading all or
the first file the file named sqlite3 exinsting in the load path and
loading a dll file on a system different than windows cause an error.


On 21 nov, 15:43, Karel Minarik
<karel.mina...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> Hi,
>
> this is closely related to datamapper and data_objects. It happened to
> me yesterday when installed Integrity app and it was *quite* nasty (no
> such file... in every Rake task etc).
>
> Solution which has worked for me was from namelessjohn at
> #sinatra@freenode [1]:
>
> namelessjon_ # karmi_: sudo rm /path/to/gems/do_sqlite-0.9.7/lib/
> sqlite3.dll
>
> Apparently do_sqlite3 gets into the path somehow.
>
> --karmi
>
> [1]http://irclogger.com/sinatra/2008-11-20
>
> On Nov 21, 7:41 am, "Dj T@l"
<guillaume.garc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>
>
> > Some precision :
> > launching the same command in the sqlite3 gem work.
> > I install sqlite3 gem iin my local gem path (~/.gem/ruby/1 .8/gems)
> > but the result is the same
>
> > On 20 nov, 23:57, "Dj T@l"
<guillaume.garc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > > Hi all
>
> > > I''ve the same problem since this morning.
> > > Trying to uninstall/install didn''t do the trick.
>
> > > The only thing i''ve done since this yesterday (all work
fine
> > > yesterday) is installing updating datamapper.
>
> > > If anyone has some clues or tips to help me.