aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/Gemfile
diff options
context:
space:
mode:
authorRaman Sinha <velobuff@gmail.com>2014-10-15 19:04:02 -0600
committerRaman Sinha <velobuff@gmail.com>2014-10-15 19:04:02 -0600
commitdb41cc252c1a3136e37bcf4111174555b979daeb (patch)
tree4fef7f92569b20af1a9a48e545d6f4462bab3f14 /railties/lib/rails/generators/rails/app/templates/Gemfile
parent99798b99c05762886217cbd9fc6d2517127caf53 (diff)
downloadrails-db41cc252c1a3136e37bcf4111174555b979daeb.tar.gz
rails-db41cc252c1a3136e37bcf4111174555b979daeb.tar.bz2
rails-db41cc252c1a3136e37bcf4111174555b979daeb.zip
clarify debugger platform invocation
Diffstat (limited to 'railties/lib/rails/generators/rails/app/templates/Gemfile')
-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 -%>