Skip to content

Commit 3de4352

Browse files
committed
Remove duplicated Gemfile change for Ruby under 2.4
1 parent eb919ba commit 3de4352

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

example_app_generator/generate_app.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,11 @@
4242
if RUBY_VERSION < "2.4"
4343
gsub_file "Gemfile", /.*capybara.*/, "gem 'capybara', '~> 3.15.0'"
4444
end
45-
4645
if Rails::VERSION::STRING >= "5.2.0" && RUBY_VERSION < '2.3.0'
4746
gsub_file "Gemfile", /.*chromedriver-helper.*/, "gem 'webdrivers', '< 4.0.0'"
4847
else
4948
gsub_file "Gemfile", /.*chromedriver-helper.*/, "gem 'webdrivers'"
5049
end
51-
if RUBY_VERSION < "2.4"
52-
gsub_file "Gemfile", /.*capybara.*/, "gem 'capybara', '~> 3.15.0'"
53-
end
5450
end
5551

5652
if Rails::VERSION::STRING >= '5.2.0' && Rails::VERSION::STRING < '6'

0 commit comments

Comments
 (0)