diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-04 17:46:17 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-04 18:17:02 -0300 |
commit | 98c372b80b106010251429b6a1e7f3742bee9630 (patch) | |
tree | 6991738f70b308931c194531659623fed9e433f5 | |
parent | f82244786e85aa9296bdef30150739b9a8b603f5 (diff) | |
download | rails-98c372b80b106010251429b6a1e7f3742bee9630.tar.gz rails-98c372b80b106010251429b6a1e7f3742bee9630.tar.bz2 rails-98c372b80b106010251429b6a1e7f3742bee9630.zip |
Strip heredoc to not generate the Gemfile with trailing spaces
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 7aa04f453f..bcff0b6eac 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -227,9 +227,9 @@ module Rails def javascript_gemfile_entry unless options[:skip_javascript] - <<-GEMFILE + <<-GEMFILE.strip_heredoc gem '#{options[:javascript]}-rails' - + # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks gem 'turbolinks' GEMFILE |