Hi, I am using pgRails which came pre-installed with postgres-pr and I now wish to use the native driver called ''postgres''. I have done the following: ''gem install postgres'' I now have both postgres-0.7.1 and postgres-pr-0.4.0 sitting in C:\pgRails\lib\ruby\gems\1.8\gems What do I need to alter in my database.yml/postgresql_adapter.rb documents so that I can access the postgres driver? -- Regards Andrew --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andrew Madu
2007-Mar-05 02:21 UTC
Re: How to select postgres for usage instead postgres-pr?
Hi, further to my additional email the gem build for postgres did not work, so I downloaded and copied postgres.so into: C:\pgRails\lib\ruby\site_ruby\1.8\i386-msvcrt Again, how do I point rails to using this driver? -- Regards Andrew On 05/03/07, Andrew Madu <andrewmadu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > I am using pgRails which came pre-installed with postgres-pr and I now > wish to use the native driver called ''postgres''. I have done the following: > > ''gem install postgres'' > > I now have both postgres-0.7.1 and postgres-pr-0.4.0 sitting in > C:\pgRails\lib\ruby\gems\1.8\gems > > What do I need to alter in my database.yml/postgresql_adapter.rb documents > so that I can access the postgres driver? > > -- > Regards > > Andrew >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---