Skip to content

Commit

Permalink
Fix a bit precompile and lazy compile comments
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Aug 4, 2011
1 parent 171881f commit 7d43217
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -12,12 +12,10 @@
<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
<% end -%>
# If you have a Gemfile, require the default gems, the ones in the
# current environment and also include :assets gems if you ...
if defined?(Bundler)
# ... precompile your assets
# If you precompile assets before deploying to production, use this line
Bundler.require *Rails.groups(:assets => %w(development test))
# ... want your assets to be lazily compiled also in production
# If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
end

Expand Down

0 comments on commit 7d43217

Please sign in to comment.