What is the preferred Active Record adapter for PostgreSQL 8.3 on Rails 2.0.2 ? Brian Adkins --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Fernando Perez
2008-Oct-19 12:49 UTC
Re: Preferred adapter for PostgreSQL 8.3 on Rails 2.0.2
My bad, the gem postgres is no longer maintained since 2006. I am now running with ruby-pg which was last updated on 14th October 2008. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Phillip Koebbe
2008-Oct-19 13:00 UTC
Re: Preferred adapter for PostgreSQL 8.3 on Rails 2.0.2
Fernando Perez wrote:> My bad, the gem postgres is no longer maintained since 2006. > > I am now running with ruby-pg which was last updated on 14th October > 2008.Heh. I was just going to mention ruby-pg. I believe that''s the "right" one now. Peace. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Fernando Perez
2008-Oct-19 15:27 UTC
Re: Preferred adapter for PostgreSQL 8.3 on Rails 2.0.2
For some strange reason, if I specify: -- config.gem ''ruby-pg'' -- in environment.rb, Rails can''t find the gem although it is installed on the system. Any idea? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Fernando Perez
2008-Oct-19 16:10 UTC
Re: Preferred adapter for PostgreSQL 8.3 on Rails 2.0.2
Holy crap!!! How can I install ruby-pg when PostgreSQL is on another box? The gem won''t build without the --include=/... I want to keep PostgreSQL and my Rails app separated. I am running Debian Etch. Do I compulsory need to install a copy of the package postgresql on my Rails server without actually using it? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Mikel Lindsaar
2008-Oct-20 09:28 UTC
Re: Preferred adapter for PostgreSQL 8.3 on Rails 2.0.2
On Mon, Oct 20, 2008 at 3:10 AM, Fernando Perez <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Holy crap!!! How can I install ruby-pg when PostgreSQL is on another > box? The gem won''t build without the --include=/... > > I want to keep PostgreSQL and my Rails app separated. I am running > Debian Etch. Do I compulsory need to install a copy of the package > postgresql on my Rails server without actually using it?In this case it is a good idea to install postgresql on your rails box. Just don''t initialize a database. This way you get all the standard posgres tools and are able to use the new ./script/dbconsole. Mikel -- http://lindsaar.net/ Rails, RSpec and Life blog.... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Phillip Koebbe
2008-Oct-21 03:12 UTC
Re: Preferred adapter for PostgreSQL 8.3 on Rails 2.0.2
Mikel Lindsaar wrote:> > In this case it is a good idea to install postgresql on your rails > box. Just don''t initialize a database. >I''m curious if it would be sufficient to install the development libraries. I haven''t tried that before, so the development libraries might be dependent on the run-time libraries, so you''d have to have it anyway. It''s probably worth looking into, though. Peace. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Fernando Perez
2008-Oct-21 07:59 UTC
Re: Preferred adapter for PostgreSQL 8.3 on Rails 2.0.2
Hi, yeas it is enough to install the dev libs for postgresql in order to have ruby-pg compile. I remembered that for MySQL you just need to install the dev libs in order to build the fqster mysql gem. My app is now remotely communicating with PostgreSQL thanks to ruby-pg. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---