# cssbundling-rails

Ruby gem that installs a Node-based CSS bundler (Tailwind CSS, Bootstrap, Bulma, PostCSS or Dart Sass) into a Rails application and delivers its output through the asset pipeline.


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

## Record

### Links

- repository: https://github.com/rails/cssbundling-rails

### Identity

- status: active
- maintainer: David Heinemeier Hansson
- maintainerType: unknown
- parent: unknown
- firstRelease: 2021
- hqCountry: unknown

### Kind

- category: build-tool
- hosting: not applicable
- language: ruby
- runtime: ruby, node
- runtimeMin: not applicable
- basedOn: rails

### Content

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

### Rendering and deploy

- runsAs: local
- renderingModes: not applicable
- installMethod: bin/bundle add cssbundling-rails, then bin/rails css:install:<bundler>

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2025-03-03

### Adoption

- githubStargazers: 644
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 56
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 2084
- dependentPackages: 8

### Sources

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

## Notes

cssbundling-rails is a Ruby gem that bundles a Rails application's stylesheets with a Node-based bundler. Its installers set up Tailwind CSS, Bootstrap, Bulma, PostCSS or Dart Sass. During development the bundler runs in watch mode in a terminal. The bundled output is delivered through the asset pipeline in Rails.

The gem is added with the Rails bundler and an installer runs for the chosen bundler. It can also be selected when a new Rails application is created with the CSS option.

## Worth knowing

The bundler needs Node and yarn on the machine that builds the stylesheets, so an application that does not otherwise use Node gains that dependency.

---

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
