Skip to content

Commit e84682c

Browse files
committed
rexml is no longer default
When Rails will be released, we should be able to remove it
1 parent 39fde58 commit e84682c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

example_app_generator/generate_app.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232

3333
if Rails::VERSION::STRING >= '6'
3434
gsub_file "Gemfile", /.*rails-controller-testing.*/, "gem 'rails-controller-testing', git: 'https://github.com/rails/rails-controller-testing'"
35+
36+
# TODO: To remove when Rails released with https://github.com/rails/rails/pull/40281
37+
append_to_file 'Gemfile', <<-EOT.gsub(/^ +\|/, '')
38+
|gem 'rexml'
39+
EOT
3540
end
3641

3742
if Rails::VERSION::STRING >= '6'

0 commit comments

Comments
 (0)