So once I figured out my problems with installing Rails 3 on Debian Squeeze I ran into trouble installing the pg gem. Again after trial and error I found that all I needed to install was the libpq-dev package. apt-get install libpq-dev gem install pg
Posts Tagged: postgresql
Backup & Restore a PostgreSQL Database with Postgis enabled
Backup: pg_dump -Fc dbname > dbname.dmp Restore: pg_restore -Fc -d dbname dbname.dmp