Similarly, after installing Mavericks bundle update
was throwing an error on the pg gem, which is only used on production and not locally.
I use Brew to manage my packages and postgresql was already installed, but still I was getting the 'no pg_config' error.
The fix was to just brew uninstall postgresql
, then brew install postgresql
. After which I was immediately able to successfully run bundle update
.