Sqlite3 is what you want to use.  Before installing sqlite3-ruby you
need to be sure you've got sqlite3 installed correctly.  The site to
go to is: http://www.sqlite.org/.

You can follow the Downloads link to get the pre-compiled version for
Windows.  You want to get both sqlite-3_6_20.zip and
sqlitedll-3_6_20.zip.  They need to be installed in a directory that
is on your path.

I have little experience with the MS environment but
sqlite3_aggregate_context comes from the sqlite3 api.  I'm guessing
that, if you've already installed sqlite3, that it cannot be found
when you do "gem install sqlite3-ruby"  Part of the gem installation
includes compiling some c code.  This code will need sqlite3 header
files and library.

HTH

On Nov 12, 7:00 pm, kangaroo99 <[email protected]> wrote:
> There were many error lines. The last one follows the pattern of all
> of them.
>
> After invoking gem install sqlite3-ruby I got
>
> 'No definition for _wrap_sqlite3_aggregate_context'
>
> The say hello program works however.
>
> Using gem install sqlite-ruby it seemed to install without these
> messages but the webrick server would crash as soon as I tried to do
> the say/hello example.
>
> Do I just rename sqlite3.exe to sqlite.exe and try again?
>
> bob
>
> On Nov 12, 8:17 am, Rick <[email protected]> wrote:
>
> > Post the actual error message you get from the gem install.  That
> > makes it much easier to give you some help.
>
> > On Nov 12, 12:36 am, kangaroo99 <[email protected]> wrote:
>
> > > I have localhost:3000 working.
> > > Windows xp system
> > > I placed sqlite3.exe and dll in windows/system directory and made sure
> > > it was in the path.
>
> > > When I used    gem install sqlite3-ruby it gave a large number of
> > > errors indicating no definition. Looked like it couldn't find the
> > > master table or something.
>
> > > Other than placing sqlite3.exe in the windows\system was I supposed to
> > > create a db table? Not clear from two different books I bought.
>
> > > I got the say/hello application working. Wondering what to do next or
> > > should I continue to follow the tutuorial?
>
> > > Kangaroo99- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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