aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-10-16 13:13:26 +0200
committerYves Senn <yves.senn@gmail.com>2014-10-16 13:13:26 +0200
commit1a76ab8d421c89cf4347be3d499e48838b55372e (patch)
tree51eaa1d1774dd92e143b2f6e6bcef8d1fab443cc
parentd4d03a520dff836d54f794f7c644f2f5c952b01b (diff)
parentdb41cc252c1a3136e37bcf4111174555b979daeb (diff)
downloadrails-1a76ab8d421c89cf4347be3d499e48838b55372e.tar.gz
rails-1a76ab8d421c89cf4347be3d499e48838b55372e.tar.bz2
rails-1a76ab8d421c89cf4347be3d499e48838b55372e.zip
Merge pull request #17278 from velobuff/clarify-debugger-invocation
clarify debugger platform invocation
-rw-r--r--railties/lib/rails/generators/rails/app/templates/Gemfile3
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 -%>