On Fri, Jul 24, 2009 at 1:24 AM, Mariusz Wojtysiak
<[email protected]>wrote:

>
>
>
> On 24 Lip, 10:03, Frederick Cheung <[email protected]> wrote:
> > On Jul 24, 8:56 am, Mariusz Wojtysiak <[email protected]> wrote:
> >
> > > Yes. That could be a solution. But this package installed only /usr/
> > > lib/ruby/1.8/i486-linux/pg.so library and some documents. None rb
> > > script was installed! I feel that without .rb scripts I cannot use
> > > ruby-pg adapter in my rails.
> >
> > Not necessarily. While sometimes you might only implement the
> > bottlenecks in c with some ruby that makes the C bits prettier there
> > are plenty of things which are just a blob of native code.
>
> CCFLAGS also didn't help, but...
>
> I just tried to use libpgsql-ruby package as you mentioned and it
> works!!!
>
> This is some kind of magic for me: plain pg.so library is used
> directly by rails without any .rb wrappers.
> Never think that something is impossible, especially in Ruby :-)
>
> Thanks a lot!
>

@ Mariusz Wojtysiak

This is good to here.

@ Frederick Cheung

Is there documentation as to what database adapters people should
be using for the various database engines on a particular OS?  For example,
something like

                               Operating Systems

Database Engine       Mac OS                                          Linux
                               Windows                       ...

PostgreSQL

MySQL

SQLite                      sudo gem install  sqlite3-ruby

...


-Conrad

--~--~---------~--~----~------------~-------~--~----~
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