Re: [GENERAL] Error trying to install Ruby postgres gems on OS/X

2011-01-28 Thread Mike Christensen
> You might have to tell it where the PostgreSQL binaries live first then: > > export PATH=$PATH:/Library/PostgreSQL/9.0/bin Hey that seems to have fixed it! Thanks! Mike -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.post

Re: [GENERAL] Error trying to install Ruby postgres gems on OS/X

2011-01-28 Thread Thom Brown
On 29 January 2011 01:50, Mike Christensen wrote: > Now I get: > > /Library/PostgreSQL/9.0>export ARCHFLAGS='-arch i386' > /Library/PostgreSQL/9.0>sudo -E gem install postgres > Password: > Building native extensions.  This could take a while... > ERROR:  Error installing postgres: >        ERROR:

Re: [GENERAL] Error trying to install Ruby postgres gems on OS/X

2011-01-28 Thread Mike Christensen
So I installed the postgres-pg library, which if I understand correctly is a Ruby implementation of the adapter (as opposed to native code that has to be built) and that's working fine.. From what I've read, this adapter is much slower but probably fine for non-production use (I'm just learning fo

Re: [GENERAL] Error trying to install Ruby postgres gems on OS/X

2011-01-28 Thread Mike Christensen
Now I get: /Library/PostgreSQL/9.0>export ARCHFLAGS='-arch i386' /Library/PostgreSQL/9.0>sudo -E gem install postgres Password: Building native extensions. This could take a while... ERROR: Error installing postgres: ERROR: Failed to build gem native extension. /System/Library/Framework

Re: [GENERAL] Error trying to install Ruby postgres gems on OS/X

2011-01-28 Thread Thom Brown
On 29 January 2011 01:37, Mike Christensen wrote: > I'm trying to install the Postgres gem on OS/X but getting errors no > matter what I try..  In theory, it should be as simple as "gem install > postgres", correct?  Here's what I get: > >>sudo gem install postgres > Building native extensions.  T

[GENERAL] Error trying to install Ruby postgres gems on OS/X

2011-01-28 Thread Mike Christensen
I'm trying to install the Postgres gem on OS/X but getting errors no matter what I try.. In theory, it should be as simple as "gem install postgres", correct? Here's what I get: >sudo gem install postgres Building native extensions. This could take a while... ERROR: Error installing postgres: