1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #10357 from arunagw/minor-code-deuplication-removed-app-generator

Minor code duplication removed
This commit is contained in:
Rafael Mendonça França 2013-04-30 07:35:50 -07:00
commit 1e5ee397ff

View file

@ -186,20 +186,20 @@ module Rails
# Use SCSS for stylesheets
gem 'sass-rails', github: 'rails/sass-rails'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
GEMFILE
else
<<-GEMFILE.strip_heredoc
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0.rc1'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
GEMFILE
end
gemfile += <<-GEMFILE.strip_heredoc
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
GEMFILE
if options[:skip_javascript]
gemfile += <<-GEMFILE
#{coffee_gemfile_entry}