Library not loaded: libpq.5.dylib

倾然丶 夕夏残阳落幕 提交于 2019-11-28 10:48:27

You may need to remove and re-install the pg gem, so it's compiled against the correct version of Postgres.

For anyone seeing this error and running PostgresApp, this is a known problem that was fixed in version 9.2.4.3:

Discussion: https://github.com/PostgresApp/PostgresApp/issues/109

Installer: https://github.com/PostgresApp/PostgresApp/releases/tag/9.2.4.3

Of course, you could just grab the latest version (http://postgresapp.com/). Both versions got me back up and running with Rails 3.2.14 and Ruby 2.0.0. However, note that when I installed 9.2.4.3 my databases were still listed in psql, but when I installed 9.3.0 (the current version at the moment), my databases were no longer listed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!