rails - postgres error: Reason: Incompatible library version: libpq.5.dylib requires version 1.0.0 or later,

后端 未结 5 1428
遇见更好的自我
遇见更好的自我 2020-12-16 18:38

I am stuck with the setup of Ruby (1.9.3), Rails and Postgres (9.0.8) on my Mac (10.6.8). Everytime when I run rails console I get the following error:

5条回答
  •  青春惊慌失措
    2020-12-16 18:58

    In one project this solution ("gem install & uninstall pg") was fine.

    But in another project, that uses the same rails and Postgres version, I had to be explicit with version in gemfile to make it work:

      gem 'pg', '0.14.1'
    

提交回复
热议问题