Skip to content
This repository
Browse code

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

Conflicts:

	railties/test/generators/app_generator_test.rb
  • Loading branch information...
commit c32be813a4187b53437389ce8ee5dbfb27eebf97 1 parent 169137f
Guillermo Iguaran authored December 09, 2011
1  railties/lib/rails/generators/app_base.rb
@@ -205,6 +205,7 @@ def javascript_gemfile_entry
205 205
       end
206 206
 
207 207
       def assets_gemfile_entry
  208
+        return if options[:skip_sprockets]
208 209
         <<-GEMFILE.strip_heredoc
209 210
           # Gems used only for assets and not required
210 211
           # in production environments by default.

0 notes on commit c32be81

Please sign in to comment.
Something went wrong with that request. Please try again.