fixed pg gem, added rails_12factor