Skip to content

Commit 67e83dd

Browse files
Sam Phippensebjacobs
authored andcommitted
Pin byebug to '~> 9.0.6' for ruby 2.0.
Byebug `9.1.0` released pinned to ruby 2.2. We need to support ruby 2.0, so here we add a gsub to pin to byebug versions that support 2.0.
1 parent 6bc30ea commit 67e83dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example_app_generator/generate_app.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
gsub_file 'Gemfile', /^.*\bgem 'rails.*$/, ''
2121
gsub_file "Gemfile", /.*web-console.*/, ''
2222
gsub_file "Gemfile", /.*debugger.*/, ''
23+
gsub_file "Gemfile", /.*byebug.*/, "gem 'byebug', '~> 9.0.6'"
2324

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

0 commit comments

Comments
 (0)