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 <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED] [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 [EMAIL PROTECTED]" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]" <[EMAIL PROTECTED]> 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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to