update Gemfile to use postgres instead of sqlite and lock ruby version