FindSoftware

Sprockets

Ruby library that compiles and serves web assets such as JavaScript, CSS and Sass, with declarative dependency directives and a preprocessor pipeline.

Sprockets is a Ruby library that compiles and serves web assets such as JavaScript, CSS and Sass, with declarative dependency directives between files. It is installed as a gem and depends on Rack. The README says it is usually used through another framework, such as the Rails asset pipeline. Asset files can embed Ruby through ERB.

For production, the README says to generate the assets to a directory on disk and serve them from there, for example with Nginx. Sam Stephenson and Joshua Peek are named as the authors, and the gem is developed in the rails GitHub organization.

Identity

Status
Active
Maintainer
Sam Stephenson, Joshua Peek34
First release
20095

Rendering and deploy

Runs as
Static files2
Install with
gem install sprockets2

Releases

Current major version
46
Last release
2026-08-257

Adoption

GitHub stars
9861
Contributors
2198
Dependent repositories
862,9089
Dependent packages
6669

Why these figures do not compare

Sources

  1. 2026-10-28: links, Written in, License, GitHub stars
    api.github.com/repos/rails/sprockets
  2. 2026-10-28: links, Runtime, Categories, Install with, Runs as, Templating
    raw.githubusercontent.com/rails/sprockets/main/README.md
  3. 2026-10-28: Maintainer, License model
    raw.githubusercontent.com/rails/sprockets/main/MIT-LICENSE
  4. 2026-10-28: Maintainer, Minimum runtime
    raw.githubusercontent.com/rails/sprockets/v4.4.1/sprockets.gemspec
  5. 2026-10-28: First release
    api.github.com/repos/rails/sprockets/commits/ee41deb4cfd4df3890cf53818f4107ed146dc265
  6. 2026-10-28: Current major version
    api.github.com/repos/rails/sprockets/releases
  7. 2026-10-28: Last release
    rubygems.org/api/v1/gems/sprockets.json
  8. 2026-10-28: Contributors
    api.github.com/repos/rails/sprockets/contributors?per_page=1
  9. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/sprockets

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON