Skip to content

Commit af7d012

Browse files
committed
Also remove selenium-webdriver from example app
It conflicts with the one from `Gemfile-rails-dependencies` ``` [!] There was an error parsing `Gemfile`: [!] There was an error parsing `Gemfile-rails-dependencies`: You cannot specify the same gem twice with different version requirements. You specified: selenium-webdriver (>= 4.0.0.rc1) and selenium-webdriver (>= 0). Bundler cannot continue. # from /Users/pirj/source/rspec-dev/repos/rspec-rails/Gemfile-rails-dependencies:13 # ------------------------------------------- # gem 'activerecord-jdbcsqlite3-adapter', git: 'https://github.com/jruby/activerecord-jdbc-adapter', platforms: [:jruby] > gem 'selenium-webdriver', require: false # when /stable$/ # ------------------------------------------- . Bundler cannot continue. # from /Users/pirj/source/rspec-dev/repos/rspec-rails/tmp/example_app/Gemfile:63 # ------------------------------------------- # eval_gemfile '/Users/pirj/source/rspec-dev/repos/rspec-rails/Gemfile-rspec-dependencies' > eval_gemfile '/Users/pirj/source/rspec-dev/repos/rspec-rails/Gemfile-rails-dependencies' # ------------------------------------------- ```
1 parent c034af3 commit af7d012

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example_app_generator/generate_app.rb

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# Remove the existing rails version so we can properly use main or other
2020
# edge branches
2121
gsub_file 'Gemfile', /^.*\bgem ['"]rails.*$/, ''
22+
gsub_file 'Gemfile', /^.*\bgem ['"]selenium\-webdriver.*$/, ''
2223
gsub_file "Gemfile", /.*web-console.*/, ''
2324
gsub_file "Gemfile", /.*debug.*/, ''
2425
gsub_file "Gemfile", /.*puma.*/, ''

0 commit comments

Comments
 (0)