lib/rails/generators/app_base.rb in railties-4.0.10.rc2 vs lib/rails/generators/app_base.rb in railties-4.0.10
- old
+ new
@@ -179,11 +179,11 @@
def assets_gemfile_entry
return if options[:skip_sprockets]
gemfile = if options.dev? || options.edge?
<<-GEMFILE.strip_heredoc
- # Use edge version of sprockets-rails
- gem 'sprockets-rails', github: 'rails/sprockets-rails'
+ # Use latest 2.1 version of sprockets-rails
+ gem 'sprockets-rails', github: 'rails/sprockets-rails', branch: "2-1-stable"
# Use SCSS for stylesheets
gem 'sass-rails', github: 'rails/sass-rails'
# Use Uglifier as compressor for JavaScript assets