Create a gist now

Instantly share code, notes, and snippets.

Embed
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
@julianvargasalvarez

This comment has been minimized.

Show comment
Hide comment
@julianvargasalvarez

julianvargasalvarez Feb 22, 2012

thanks

@ckarbass

This comment has been minimized.

Show comment
Hide comment
@ckarbass

ckarbass Mar 12, 2012

for those that are troubleshooting this, this snippet of code needs to be updated in application.rb

for those that are troubleshooting this, this snippet of code needs to be updated in application.rb

@masterkrang

This comment has been minimized.

Show comment
Hide comment
@masterkrang

masterkrang Jul 2, 2012

+1 thanks for this.

+1 thanks for this.

@reiz

This comment has been minimized.

Show comment
Hide comment
@reiz

reiz Apr 22, 2014

+1 thanks.

reiz commented Apr 22, 2014

+1 thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment