Created
September 6, 2011 14:25
-
-
Save ugisozols/1197686 to your computer and use it in GitHub Desktop.
assets lazily compiled in production
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
for those that are troubleshooting this, this snippet of code needs to be updated in application.rb
+1 thanks for this.
+1 thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks