Add ruby and rails12_factor gem to gemfile.