Created
November 12, 2014 19:28
-
-
Save anolson/d1197de9a5c71ae99035 to your computer and use it in GitHub Desktop.
Debug rails asset pipeline.
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
module Sprockets | |
class Manifest | |
def logger_with_debug | |
logger_without_debug.tap do |logger| | |
logger.level = Logger::DEBUG | |
end | |
end | |
alias_method_chain :logger, :debug | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's supposedly a way of configuring the log level, but I couldn't get that to work.