Skip to content

Commit

Permalink
New applications should use sass-rails 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca authored and chancancode committed Dec 13, 2014
1 parent a072aa3 commit 7341541
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions railties/lib/rails/generators/app_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,8 @@ def assets_gemfile_entry
return [] if options[:skip_sprockets]

gems = []
if options.dev? || options.edge?
gems << GemfileEntry.github('sass-rails', 'rails/sass-rails', nil,
'Use SCSS for stylesheets')
else
gems << GemfileEntry.version('sass-rails', '~> 4.0',
gems << GemfileEntry.version('sass-rails', '~> 5.0',
'Use SCSS for stylesheets')
end

gems << GemfileEntry.version('uglifier',
'>= 1.3.0',
Expand Down

0 comments on commit 7341541

Please sign in to comment.