Skip to content

Commit 18c5d31

Browse files
pirjJonRowe
authored andcommitted
Skip installing webdrivers on Ruby 3+
selenium-webdriver will be able to download drivers itself
1 parent 606f1b9 commit 18c5d31

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
@@ -23,6 +23,7 @@
2323
gsub_file "Gemfile", /.*debug.*/, ''
2424
gsub_file "Gemfile", /.*puma.*/, ''
2525
gsub_file "Gemfile", /.*bootsnap.*/, ''
26+
gsub_file "Gemfile", /.*chromedriver-helper.*/, '' if RUBY_VERSION >= "3.0"
2627

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

0 commit comments

Comments
 (0)