Skip to content
Mutes assets pipeline log messages.
Ruby Logos
Find file
Latest commit a39a74c Mar 20, 2015 @route route Merge pull request #38 from nicolasleger/patch-1
Test on Ruby 2.2 and auto test on patched versions

README.md

Quiet Assets

Continuous Integration status

Quiet Assets turns off the Rails asset pipeline log. This means that it suppresses messages in your development log such as:

Started GET "/assets/application.js" for 127.0.0.1 at 2015-01-28 13:35:34 +0300
Served asset /application.js - 304 Not Modified (8ms)

Support Ruby on Rails >= 3.1

Installation

It is recommended that this gem only be used for development. To install, add this line to development group in your Gemfile:

gem 'quiet_assets', group: :development

Then, from the command line, run:

$ bundle

Usage

Simply installing Quiet Assets will suppress the log messages automatically. However, if you wish to temporarily re-enable the logging of the asset pipeline messages, place the following in your config/application.rb file:

config.quiet_assets = false

If you need to supress output for other paths you can do so by specifying:

config.quiet_assets_paths << '/silent/'

License

Dual licensed under the MIT or GPL licenses:

Copyright © 2011-2015 Dmitry @KODerFunk Karpunun, Dmitry @route Vorotilin / Evrone.com

Something went wrong with that request. Please try again.