Adds Postgres as default database.

[#57377936]
Default ruby environment and gemset;

[#57377936]
Updates Rails and install test gems.

[#57377936]