added pg and rails12