From: Fernando Perez Date: 2011-03-03T01:10:54+09:00 Subject: Re: Trying to install pg on 32bit Snow Leopard 10.6 Chris Lemcke wrote in post #984495: > I'm trying to install the "pg" gem on 32-bit snow leopard and I'm > encountering the following error: The solution is to simply export the correct $PATH. How did you install PostgreSQL? Using Macports, when I perform a locate of "pg_config" it returns: /opt/local/lib/postgresql90/bin/pg_config therefore I have to: export PATH=/opt/local/lib/postgresql90/bin:$PATH then run the command "gem install pg" and it works Your mileage may vary. -- Posted via http://www.ruby-forum.com/.