Add `rails_12factor` gem and Ruby version to Gemfile.