From: Tor Erik Linnerud Date: 2010-03-05T18:22:50+09:00 Subject: Re: Installing Pg gem for PostGreSQL 8.4 > I assume you're the anonymous creator of this ticket: > http://bitbucket.org/ged/ruby-pg/issue/24/090-gem-fails-to-build > That is correct :) > as the description looks the same. If you are, you have the ARCHFLAGS > environment variable set to "-arch i386", which isn't correct for Snow > Leopard. Try either unsetting ARCHFLAGS, in which case the build system > should detect the correct setting, or reset it manually to "-arch > x86_64". Doh! Even though the system it completely new, I had copied over my .bash_profile and it was indeed setting ARCHFLAGS to '-arch i386'. Works perfectly after removing it. Thanks a lot for the help, much appreciated. Tor Erik -- Posted via http://www.ruby-forum.com/.