Adds rails_12factor gem and ruby version to gemfile.