Skip to content

Instantly share code, notes, and snippets.

@parndt
Created December 16, 2011 23:22
Show Gist options
  • Save parndt/1488486 to your computer and use it in GitHub Desktop.
Save parndt/1488486 to your computer and use it in GitHub Desktop.
Assets on Heroku in config/application.rb
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