[Ruby-pg-general] osx leopard

Jeff Davis ruby-pg at j-davis.com
Thu Dec 13 17:38:32 EST 2007


On Thu, 2007-12-13 at 13:55 -0800, Jeff Davis wrote:
> On Thu, 2007-12-13 at 15:25 -0500, Brett Eisenberg wrote:
> > Hi Jeff,
> > 
> > I'm assuming it was you that updated the postgres gem......fyi, it's  
> > broken on osx leopard.
> 
> [ I CC'd the ruby-pg-general list ]
> 
> Thank you for the detailed report. What version of PostgreSQL are you
> building against?
> 

This appears to be an issue with leopard. You have to set the
environment variable ARCHFLAGS appropriately. For example:

# export ARCHFLAGS=' -arch i386 '
# gem install --remote postgres

Can you please try that and tell me whether it works?

As I understand it, that's due to a problem with leopard that will
hopefully be fixed. If there's something I should do in my build process
to guard against that problem, than I will.

Thank you for reporting the issue, I will alert others of the potential
problem.

Regards,
	Jeff Davis



More information about the Ruby-pg-general mailing list