When you face problem to install Postgresql(pg) gem during bundle install for Ruby on rails project, then you need to install first the following gem:
sudo apt-get install postgresql
sudo apt-get install libpq-dev
then gem pg install will be successful when you attempt again by bundle install.
sudo apt-get install postgresql
sudo apt-get install libpq-dev
then gem pg install will be successful when you attempt again by bundle install.
No comments:
Post a Comment