Ruby/PgSQL error on Rails start : cannot load such file — pg_ext (LoadError)

后端 未结 5 1844
死守一世寂寞
死守一世寂寞 2020-12-19 05:04

I\'m new to Ruby (coming from a Java background) and was given access to a RoR project from a Git repository. I was able to get Ruby built with rbenv and Postgres installed

5条回答
  •  眼角桃花
    2020-12-19 05:27

    Issue also appears in Fedora 17.

    Uninstall "pg" gem:

    gem uninstall pg
    

    Run bundle (assuming Gemfile contains "pg" gem):

    bundle
    

提交回复
热议问题