FindSoftware

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.

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.

Identity

Status
Active
Maintainer
David Heinemeier Hansson2
First release
20214

Rendering and deploy

Runs as
Dev only3
Install with
bin/bundle add cssbundling-rails, then bin/rails css:install:<bundler>3

Releases

Current major version
14
Last release
2025-03-034

Adoption

GitHub stars
6441
Contributors
565
Dependent repositories
2,0846
Dependent packages
86

Why these figures do not compare

Sources

  1. 2026-10-28: links, Written in, License, GitHub stars
    api.github.com/repos/rails/cssbundling-rails
  2. 2026-10-28: Maintainer, License model
    raw.githubusercontent.com/rails/cssbundling-rails/main/MIT-LICENSE
  3. 2026-10-28: Categories, Built on, Runtime, Runs as, Install with
    raw.githubusercontent.com/rails/cssbundling-rails/main/README.md
  4. 2026-10-28: First release, Current major version, Last release
    api.github.com/repos/rails/cssbundling-rails/releases
  5. 2026-10-28: Contributors
    api.github.com/repos/rails/cssbundling-rails/contributors?per_page=1
  6. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/cssbundling-rails

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