diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-12-12 20:48:44 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-12-12 20:48:44 -0200 |
commit | 83534e5678a0f648e0cba767e3279714b3f774ce (patch) | |
tree | 097d16ed34d74a52a50d8b2341795584e0ecabd7 | |
parent | 193ec360b1b082003f3eb486b533d4cf218571c7 (diff) | |
download | rails-83534e5678a0f648e0cba767e3279714b3f774ce.tar.gz rails-83534e5678a0f648e0cba767e3279714b3f774ce.tar.bz2 rails-83534e5678a0f648e0cba767e3279714b3f774ce.zip |
New applications should use sass-rails 5.0
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 5fb4723ef7..518277a254 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -247,13 +247,8 @@ module Rails 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', |