Skip to content

Commit da1b5c4

Browse files
authored
Merge pull request #2005 from rspec/travis-fixes
Travis fixes
2 parents 8c6c959 + 6a3e2bc commit da1b5c4

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
@@ -23,6 +23,9 @@
2323
gsub_file "Gemfile", /.*debugger.*/, ''
2424
gsub_file "Gemfile", /.*byebug.*/, "gem 'byebug', '~> 9.0.6'"
2525
gsub_file "Gemfile", /.*puma.*/, ""
26+
if RUBY_VERSION < '2.2.2'
27+
gsub_file "Gemfile", /.*rdoc.*/, "gem 'rdoc', '< 6'"
28+
end
2629

2730
if Rails::VERSION::STRING >= '5.0.0'
2831
append_to_file('Gemfile', "gem 'rails-controller-testing', :git => 'https://github.com/rails/rails-controller-testing'\n")

0 commit comments

Comments
 (0)