Added pg and rails_factor gems for heroku