Changed some environmental stuff.

- version of ruby and gems
- changed database to posgres