moved postgresql gem declaration