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:
commit
1e5ee397ff
1 changed files with 6 additions and 6 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue