update versions Ruby and Rails and adding new database - PostgreSQL

`mongoid.yml` is no longer needed  here