Permalink
Browse files

Skip assets groups if --skip-sprockets option is given

Conflicts:

	railties/test/generators/app_generator_test.rb
  • Loading branch information...
guilleiguaran committed Dec 10, 2011
1 parent 169137f commit c32be813a4187b53437389ce8ee5dbfb27eebf97
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/generators/app_base.rb
@@ -205,6 +205,7 @@ def javascript_gemfile_entry
end
def assets_gemfile_entry
+ return if options[:skip_sprockets]
<<-GEMFILE.strip_heredoc
# Gems used only for assets and not required
# in production environments by default.

0 comments on commit c32be81

Please sign in to comment.