diff --git a/example_app_generator/generate_app.rb b/example_app_generator/generate_app.rb index 942878804..4b2c539d5 100644 --- a/example_app_generator/generate_app.rb +++ b/example_app_generator/generate_app.rb @@ -31,7 +31,8 @@ # sqlite3 is an optional, unspecified, dependency and Rails 6.0 only supports `~> 1.4` gsub_file "Gemfile", /.*gem..sqlite3.*/, "gem 'sqlite3', '~> 1.4'" - gsub_file "Gemfile", /.*chromedriver-helper.*/, "gem 'webdrivers'" + # remove webdrivers + gsub_file "Gemfile", /gem ['"]webdrivers['"]/, "" if RUBY_ENGINE == "jruby" gsub_file "Gemfile", /.*jdbc.*/, ''