Skip to content

Commit

Permalink
Update example_app_generator/generate_app.rb
Browse files Browse the repository at this point in the history
Because Rails generates Gemfile with webdrivers
  • Loading branch information
pirj authored Oct 13, 2023
1 parent 541b707 commit e71243b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example_app_generator/generate_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
gsub_file "Gemfile", /.*puma.*/, ''
gsub_file "Gemfile", /.*bootsnap.*/, ''
gsub_file "Gemfile", /.*chromedriver-helper.*/, '' if RUBY_VERSION >= "3.0" && Rails::VERSION::STRING >= '7'
gsub_file "Gemfile", /.*webdrivers*/, '' if RUBY_VERSION >= "3.0"

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

Expand Down

0 comments on commit e71243b

Please sign in to comment.