diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-05-10 02:33:07 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-05-10 03:46:56 -0300 |
commit | 164125c88e3a3adb363b469cd72c9d0bd22dcad8 (patch) | |
tree | 9b663c987900229cd1c2ed26c851641ff7fc185b /railties/lib | |
parent | deb9c8ce3ca876a4123a63e8dacf457a4372c71d (diff) | |
download | rails-164125c88e3a3adb363b469cd72c9d0bd22dcad8.tar.gz rails-164125c88e3a3adb363b469cd72c9d0bd22dcad8.tar.bz2 rails-164125c88e3a3adb363b469cd72c9d0bd22dcad8.zip |
Use sass-rails and coffee-rails that work with Rails 5.1
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 151bf9a879..7aee28c74a 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -296,7 +296,7 @@ module Rails return [] if options[:skip_sprockets] gems = [] - gems << GemfileEntry.version('sass-rails', '~> 5.0', + gems << GemfileEntry.github('sass-rails', 'rails/sass-rails', nil, 'Use SCSS for stylesheets') gems << GemfileEntry.version('uglifier', @@ -312,7 +312,7 @@ module Rails end def coffee_gemfile_entry - GemfileEntry.version 'coffee-rails', '~> 4.1.0', 'Use CoffeeScript for .coffee assets and views' + GemfileEntry.github 'coffee-rails', 'rails/coffee-rails', nil, 'Use CoffeeScript for .coffee assets and views' end def javascript_gemfile_entry |