Skip to content

Commit a9f0966

Browse files
Sam Phippenbenoittgt
authored andcommitted
Fix capybara pins for older rubies
1 parent f529af1 commit a9f0966

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

example_app_generator/generate_app.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
else
4949
gsub_file "Gemfile", /.*chromedriver-helper.*/, "gem 'webdrivers'"
5050
end
51+
if RUBY_VERSION < "2.4"
52+
gsub_file "Gemfile", /.*capybara.*/, "gem 'capybara', '~> 3.10.0'"
53+
end
5154
end
5255

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

0 commit comments

Comments
 (0)