Andrew Madu
2007-Mar-05 11:24 UTC
SOLVED:Re: How to select postgres for usage instead postgres-pr?
Figured it out chaps..not to worry!!! -- Regards Andrew On 05/03/07, Andrew Madu <andrewmadu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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 -~----------~----~----~----~------~----~------~--~---
Jeremy Kemper
2007-Mar-06 05:24 UTC
Re: SOLVED:Re: How to select postgres for usage instead postgres-pr?
Hi Andrew, On 3/5/07, Andrew Madu <andrewmadu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Figured it out chaps..not to worry!!! > > -- > Regards > > Andrew > > On 05/03/07, Andrew Madu <andrewmadu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > 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? > > > >How''d you solve it? What was the real problem? Curious, jeremy --~--~---------~--~----~------------~-------~--~----~ 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-06 09:06 UTC
Re: SOLVED:Re: How to select postgres for usage instead postgres-pr?
Greetings, 1. uninstall postgres-pr (gem uninstall postgres-pr) 2. add require ''postgres'' to postgresql_adapter.rb -- Regards Andrew On 06/03/07, Jeremy Kemper <jeremy-w7CzD/W5Ocjk1uMJSBkQmQ@public.gmane.org> wrote:> > Hi Andrew, > > On 3/5/07, Andrew Madu <andrewmadu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Figured it out chaps..not to worry!!! > > > > -- > > Regards > > > > Andrew > > > > On 05/03/07, Andrew Madu < andrewmadu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > 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? > > > > > > > > How''d you solve it? What was the real problem? > > Curious, > jeremy > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---