added postgresql to deploy app
added ruby version