Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Prevent generation of extra whitespace in templates
  • Loading branch information
David Rodríguez de Dios committed Apr 10, 2014
1 parent 6fae9ac commit 7fe49a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions railties/lib/rails/generators/rails/app/templates/Gemfile
Expand Up @@ -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/) -%>
Expand Down
6 changes: 3 additions & 3 deletions railties/lib/rails/generators/rails/plugin/templates/Gemfile
Expand Up @@ -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 -%>

0 comments on commit 7fe49a4

Please sign in to comment.