Skip to content

Instantly share code, notes, and snippets.

@lucascaton
Forked from ugisozols/application.rb
Created April 14, 2012 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucascaton/2382135 to your computer and use it in GitHub Desktop.
Save lucascaton/2382135 to your computer and use it in GitHub Desktop.
assets lazily compiled in production
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
# Bundler.require *Rails.groups(:assets => %w(development test))
# If you want your assets lazily compiled in production, use this line
Bundler.require(:default, :assets, Rails.env)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment