Skip to content

Commit e71243b

Browse files
authored
Update example_app_generator/generate_app.rb
Because Rails generates Gemfile with webdrivers
1 parent 541b707 commit e71243b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example_app_generator/generate_app.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
gsub_file "Gemfile", /.*puma.*/, ''
2525
gsub_file "Gemfile", /.*bootsnap.*/, ''
2626
gsub_file "Gemfile", /.*chromedriver-helper.*/, '' if RUBY_VERSION >= "3.0" && Rails::VERSION::STRING >= '7'
27+
gsub_file "Gemfile", /.*webdrivers*/, '' if RUBY_VERSION >= "3.0"
2728

2829
append_to_file 'Gemfile', "gem 'rails-controller-testing'\n"
2930

0 commit comments

Comments
 (0)