百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
Q

quiet_assets

> 编程语言
开源

已弃用: 自 sprockets-rails 3.1.0 版起,在当前版本的 rails 中使用,此 gem 已被弃用

1.4K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

已弃用: 自 sprockets-rails 3.1.0 版起,在当前版本的 rails 中使用,此 gem 已被弃用

PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED

As of sprockets-rails version 3.1.0, used in current versions of rails, this gem is deprecated.

The asset pipeline now supports a quiet option which suppresses output of asset requests:

# config/environments/development.rb

config.assets.quiet = true

Relevant PR: https://github.com/rails/sprockets-rails/pull/355

Quiet Assets

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)

Developed by Evrone team.

Getting Started

Prerequisites

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/'

Contributing

Please read Code of Conduct and Contributing Guidelines for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Changelog

The changelog is here.

Authors

  • Dmitry Karpunin
  • Dmitry Vorotilin

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言