unable to install pg gem

后端 未结 20 874
不知归路
不知归路 2020-12-02 04:54

I tried using gem install pg but it doesn\'t seem to work.

gem install pg gives this error

Temporarily enhancing PATH to in         


        
20条回答
  •  北海茫月
    2020-12-02 05:18

    Use with ARCH flag.

    sudo env ARCHFLAGS="-arch x86_64" gem install pg
    

    This resolved the same issue you are having.

提交回复
热议问题