fixed db yml and added pg gem