added PG and Rails_12 Factor to gemfile