본문 바로가기
BackEnd

You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side applicatio Error 해결법

by E_van 2020. 12. 31.

bundle install을 할 때 You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application 에러 발생 시 아래 코드 실행

 

sudo apt-get install postgresql-server-dev-all

sudo apt-get install postgresql-common

 

실행 bundle install