Skip to content

Document Rails setup with cssbundling-rails#15

Open
jaredlt wants to merge 1 commit intomainfrom
rails-setup-guide
Open

Document Rails setup with cssbundling-rails#15
jaredlt wants to merge 1 commit intomainfrom
rails-setup-guide

Conversation

@jaredlt
Copy link
Copy Markdown
Contributor

@jaredlt jaredlt commented May 8, 2026

Before, there was no guidance for using Roux within a Rails project.

Rails 8 uses Propshaft by default, which doesn't support CSS @import. This, plus the peformance impact make a bundler required rather than optional.

Now, a new "Using Roux with Rails" section in the README explains the constraint and links to a new guides/rails-setup.md with step-by-step instructions and a defensive shell script that skips steps already completed.

@enatario I went for a separate setup file as it felt like the script was making the readme too long. I'm not precious about any of this so feel to completely rewrite to suit your style :)

Closes #12

Before, there was no guidance for using Roux within a Rails project.

Rails 8 uses Propshaft by default, which doesn't support CSS `@import`.
This, plus the peformance impact make a bundler required rather than optional.

Now, a new "Using Roux with Rails" section in the README explains the
constraint and links to a new guides/rails-setup.md with step-by-step
instructions and a defensive shell script that skips steps already completed.
@jaredlt jaredlt requested a review from enatario as a code owner May 8, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Roux on Rails

1 participant