I'm using Rails 3.0.1. I installed the native pg gem for postgresql with this command:
$ export ARCHFLAGS='-arch i386' $ sudo gem install pg -- --with-pg-config=/Library/PostgreSQL/8.4/bin/pg_config
When I run the gem list, I can see that pg 0.9 is installed.
However when I set the postgres database adaptor and re-run the server, I get this error:
no such file to load -- pg
How can I fix this?
Thank you