add ruby version and pg gem to Gemfile