diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-12 13:46:05 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-12 13:46:16 -0800 |
commit | b04e2d86df388098c12d2067ac6997e11b9479ad (patch) | |
tree | 3f3a9615746142d754e9f846448f9d00481abbf0 /railties/lib | |
parent | ede647a505fbba459d4e8529646b1f5cb59c1d43 (diff) | |
download | rails-b04e2d86df388098c12d2067ac6997e11b9479ad.tar.gz rails-b04e2d86df388098c12d2067ac6997e11b9479ad.tar.bz2 rails-b04e2d86df388098c12d2067ac6997e11b9479ad.zip |
strip whitespace errors from the generated Gemfile
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index e3d22e81fb..0bd39cb2cd 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -194,7 +194,7 @@ module Rails def assets_gemfile_entry return if options[:skip_sprockets] - <<-GEMFILE.strip_heredoc + <<-GEMFILE.strip_heredoc.gsub(/^[ \t]*$/, '') # Gems used only for assets and not required # in production environments by default. group :assets do |