Adds ruby version and rails_12factor gem to Gemfile.