update versions Ruby and Rails and adding new database - PostgreSQL