pg_dump: aborting because of server version mismatch between 9.5.1 and 9.4.1
<p>I'm having problems with Postgres pg_dump due to server version mismatch, while on OSX 10.11.1. </p>

<pre><code>$ pg_dump
pg_dump: server version: 9.5.1; pg_dump version: 9.4.1
pg_dump: aborting because of server version mismatch
$ which pg_dump
/usr/local/bin/pg_dump
$ echo $PATH
/Users/jade/.rvm/gems/ruby-2.2.1/bin:/Users/jade/.rvm/gems/ruby-2.2.1@global/bin:/Users/jade/.rvm/rubies/ruby-2.2.1/bin:/Users/jade/.rbenv/shims:/usr/local/bin:/Users/jade/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/jade/.rvm/bin
</code></pre>

<p>I installed using Brew, and reinstalled and uninstalled Postgresql several times (turning it on and off again)</p>

<p>I've pretty much gone through every instruction / answer in the other "pg_dump aborting because of server mismatch" - including editing my .bash_profile AND .profile to include at the top of the file with no success.</p>

<pre><code>export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
</code></pre>

<p>Does anyone have any advice to force the server version to move back to 9.4.1, or vice versa? Why is it being redirected to the wrong version? </p>

<p>Thanks so much!</p>