aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/Gemfile6
-rw-r--r--railties/lib/rails/generators/rails/plugin/templates/Gemfile6
2 files changed, 6 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile
index faca76f150..756c334772 100644
--- a/railties/lib/rails/generators/rails/app/templates/Gemfile
+++ b/railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -24,11 +24,11 @@ source 'https://rubygems.org'
<% unless defined?(JRUBY_VERSION) -%>
# To use a debugger
- <% if RUBY_VERSION < '2.0.0' -%>
+ <%- if RUBY_VERSION < '2.0.0' -%>
# gem 'debugger', group: [:development, :test]
- <% else -%>
+ <%- else -%>
# gem 'byebug', group: [:development, :test]
- <% end -%>
+ <%- end -%>
<% end -%>
<% if RUBY_PLATFORM.match(/bccwin|cygwin|emx|mingw|mswin|wince/) -%>
diff --git a/railties/lib/rails/generators/rails/plugin/templates/Gemfile b/railties/lib/rails/generators/rails/plugin/templates/Gemfile
index 5313cb6c0f..1f704db510 100644
--- a/railties/lib/rails/generators/rails/plugin/templates/Gemfile
+++ b/railties/lib/rails/generators/rails/plugin/templates/Gemfile
@@ -39,9 +39,9 @@ end
<% end -%>
<% unless defined?(JRUBY_VERSION) -%>
# To use a debugger
- <% if RUBY_VERSION < '2.0.0' -%>
+ <%- if RUBY_VERSION < '2.0.0' -%>
# gem 'debugger', group: [:development, :test]
- <% else -%>
+ <%- else -%>
# gem 'byebug', group: [:development, :test]
- <% end -%>
+ <%- end -%>
<% end -%>