Library not loaded: libpq.5.dylib

前端 未结 2 1983
[愿得一人]
[愿得一人] 2020-12-10 02:23

I have app that is running Ruby 1.9.2, Rails 3, and postgreSQL 8.3. It was originally setup and working with postgreSQL 9.1, but I uninstalled 9.1 and installed and changed

相关标签:
2条回答
  • 2020-12-10 02:49

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

    0 讨论(0)
  • 2020-12-10 03:02

    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.

    0 讨论(0)
提交回复
热议问题