diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-10-16 13:13:26 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-10-16 13:13:26 +0200 |
commit | 1a76ab8d421c89cf4347be3d499e48838b55372e (patch) | |
tree | 51eaa1d1774dd92e143b2f6e6bcef8d1fab443cc /railties | |
parent | d4d03a520dff836d54f794f7c644f2f5c952b01b (diff) | |
parent | db41cc252c1a3136e37bcf4111174555b979daeb (diff) | |
download | rails-1a76ab8d421c89cf4347be3d499e48838b55372e.tar.gz rails-1a76ab8d421c89cf4347be3d499e48838b55372e.tar.bz2 rails-1a76ab8d421c89cf4347be3d499e48838b55372e.zip |
Merge pull request #17278 from velobuff/clarify-debugger-invocation
clarify debugger platform invocation
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index 38d9c4ef7c..dd111416bd 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -25,10 +25,11 @@ gem 'rails-dom-testing', github: 'rails/rails-dom-testing' group :development, :test do <% unless defined?(JRUBY_VERSION) -%> - # Call 'debugger' anywhere in the code to stop execution and get a debugger console <%- if RUBY_VERSION < '2.0.0' -%> + # Call 'debugger' anywhere in the code to stop execution and get a debugger console gem 'debugger' <%- else -%> + # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug' <%- end -%> |