# Sprockets

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


Source: https://findsoftware.frbit.cloud/sprockets/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- repository: https://github.com/rails/sprockets
- docs: https://github.com/rails/sprockets/blob/main/README.md

### Identity

- status: active
- maintainer: Sam Stephenson, Joshua Peek
- maintainerType: unknown
- parent: unknown
- firstRelease: 2009
- hqCountry: unknown

### Kind

- category: build-tool
- hosting: not applicable
- language: ruby
- runtime: ruby
- runtimeMin: ruby 2.5
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: erb
- i18n: not applicable

### Rendering and deploy

- runsAs: static
- renderingModes: not applicable
- installMethod: gem install sprockets

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 4
- latestReleaseDate: 2026-08-25

### Adoption

- githubStargazers: 986
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 219
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 862908
- dependentPackages: 666

### Sources

- urls: https://api.github.com/repos/rails/sprockets (read 2026-10-28)
- urls: https://raw.githubusercontent.com/rails/sprockets/main/README.md (read 2026-10-28)
- maintainer: https://raw.githubusercontent.com/rails/sprockets/main/MIT-LICENSE (read 2026-10-28)
- maintainer: https://raw.githubusercontent.com/rails/sprockets/v4.4.1/sprockets.gemspec (read 2026-10-28)
- language: https://api.github.com/repos/rails/sprockets (read 2026-10-28)
- runtime: https://raw.githubusercontent.com/rails/sprockets/main/README.md (read 2026-10-28)
- runtimeMin: https://raw.githubusercontent.com/rails/sprockets/v4.4.1/sprockets.gemspec (read 2026-10-28)
- category: https://raw.githubusercontent.com/rails/sprockets/main/README.md (read 2026-10-28)
- installMethod: https://raw.githubusercontent.com/rails/sprockets/main/README.md (read 2026-10-28)
- installMethod: https://raw.githubusercontent.com/rails/sprockets/main/README.md (read 2026-10-28)
- runsAs: https://raw.githubusercontent.com/rails/sprockets/main/README.md (read 2026-10-28)
- templating: https://raw.githubusercontent.com/rails/sprockets/main/README.md (read 2026-10-28)
- license: https://api.github.com/repos/rails/sprockets (read 2026-10-28)
- licenseModel: https://raw.githubusercontent.com/rails/sprockets/main/MIT-LICENSE (read 2026-10-28)
- firstRelease: https://api.github.com/repos/rails/sprockets/commits/ee41deb4cfd4df3890cf53818f4107ed146dc265 (read 2026-10-28)
- currentMajor: https://api.github.com/repos/rails/sprockets/releases (read 2026-10-28)
- latestReleaseDate: https://rubygems.org/api/v1/gems/sprockets.json (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/rails/sprockets (read 2026-10-28)
- contributors: https://api.github.com/repos/rails/sprockets/contributors?per_page=1 (read 2026-10-28)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/sprockets (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/sprockets (read 2026-10-28)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
