Installation failed with the AWS install script without manual pg install beforehand
Created by: MathieuLoutre
I used the AWS install script and everything seemed to run smoothly until it couldn't install the pg gem. So I erased everything and started all over again only I installed Postgres beforehand with those lines:
sudo apt-get install postgresql
sudo apt-get install libpq-dev
They were found here: http://stackoverflow.com/questions/9668753/rails-3-cant-install-pg-gem
Maybe the install script should be modified to include them? Or maybe I did something wrong. Hope this might help someone stuck with the same problem.