From db41cc252c1a3136e37bcf4111174555b979daeb Mon Sep 17 00:00:00 2001 From: Raman Sinha Date: Wed, 15 Oct 2014 19:04:02 -0600 Subject: clarify debugger platform invocation --- railties/lib/rails/generators/rails/app/templates/Gemfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -%> -- cgit v1.2.3