diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-12-09 21:52:10 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-12-09 21:52:10 -0500 |
commit | b12a17665abe37ab7ef116fc56519fdadf045dd6 (patch) | |
tree | 31281735af7b5050c1aaec3fa1285e8fed2ff1d7 /railties/lib/rails/generators | |
parent | 3e5592848ac7fd58608e3f6c42778a2feb53788f (diff) | |
download | rails-b12a17665abe37ab7ef116fc56519fdadf045dd6.tar.gz rails-b12a17665abe37ab7ef116fc56519fdadf045dd6.tar.bz2 rails-b12a17665abe37ab7ef116fc56519fdadf045dd6.zip |
Skip assets groups if --skip-sprockets option is given
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 3fbde0d989..e3d22e81fb 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -193,6 +193,7 @@ module Rails 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. |