Thread: Totally fresh uninstall/reinstall of Postgres on MacBook Pro running Snow Leopard?

Hi -- I'm having a world of trouble getting Postgres to work with a number of ruby libraries, and was thinking that, to be sure that I'm eliminating all that could be wrong, I need to ensure that my Postgres install is fresh, correct, and as canonical as possible.
Could someone advise me on the best way to ensure that I have first *totally* uninstalled Postgres from my machine, then secondly the best way to install it so that everything is most likely to be set up the way a third-party developer might expect (ie, what is the most vanilla Postgres install)?
Thankyou very much for any & all advice.
   Doug.

Re: Totally fresh uninstall/reinstall of Postgres on MacBook Pro running Snow Leopard?

From
Peter Hunsberger
Date:
On Wed, Nov 18, 2009 at 10:37 AM, doug livesey <biot023@gmail.com> wrote:
> Hi -- I'm having a world of trouble getting Postgres to work with a number
> of ruby libraries, and was thinking that, to be sure that I'm eliminating
> all that could be wrong, I need to ensure that my Postgres install is fresh,
> correct, and as canonical as possible.
> Could someone advise me on the best way to ensure that I have first
> *totally* uninstalled Postgres from my machine, then secondly the best way
> to install it so that everything is most likely to be set up the way a
> third-party developer might expect (ie, what is the most vanilla Postgres
> install)?

Not sure what you're trying to do, but on a Windows machine I've never
been able to get the Ruby Gems to recognize / find / work with a
Postgres install that was not integrated with them from the get go.
I've always had to use the integrated Postgres / Ruby packages to have
Ruby work...

--
Peter Hunsberger

What packages are those? Maybe I should look them up.

(Sorry for the double-post, Peter.)
Ah, do you mean the postgres-pr gem?
That seems to have done it, for now -- I shall see if it falls over when I use it in anger.
Cheers,
   Doug.

2009/11/18 doug livesey <biot023@gmail.com>
What packages are those? Maybe I should look them up.

(Sorry for the double-post, Peter.)

Is that a custom version of Ruby & Rails to work with Postgres, or the other way around?
If the latter, that could be cool, but if the former, then not as useful, as it is with DataMapper & Sinatra I'd really like to use the postgres db.
But the postgres-pr is a fine compromise for the time being, cheers! I'll use ActiveRecord with Sinatra, and see if I can change to DM somewhen later, maybe when there's a new release.
Thanks a lot for your help!
   Doug.