While running the rake db:structure:dump command, I found the following error:
Larson-2:app larson$ rake db:structure:dump pg_dump: server version: 9.1.3; pg_dump version: 9.0.4 pg_dump: aborting because of server version mismatch rake aborted! Error dumping database
How can I update pg_dump? I have pg 9.1.3 installed, is there a way to update links inside Rails to a new version?
When I try to update postgres via homebrew, I get the following output:
Larson-2:app larson$ sudo brew upgrade postgresql Password: Error: postgresql already upgraded
source share