From 331a462d9b5e6795e09379fe021c8f17e2a53b89 Mon Sep 17 00:00:00 2001 From: David Silva Date: Tue, 21 Oct 2025 17:19:28 +0100 Subject: [PATCH 1/2] Update installation guide for Ruby on Rails v8 (#1) * Update installation guide for Ruby on Rails v8 Just updating the documentation as there's no `bundle` inside the `bin` folder in Ruby on Rails 8. * Fix command syntax and update installation instructions --- .../docs/installation/framework-guides/ruby-on-rails.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/(docs)/docs/installation/framework-guides/ruby-on-rails.tsx b/src/app/(docs)/docs/installation/framework-guides/ruby-on-rails.tsx index 4751ffe6a..c5e767ce4 100644 --- a/src/app/(docs)/docs/installation/framework-guides/ruby-on-rails.tsx +++ b/src/app/(docs)/docs/installation/framework-guides/ruby-on-rails.tsx @@ -11,7 +11,7 @@ export let tile: Tile = { export let page: Page = { title: "Install Tailwind CSS with Ruby on Rails", - description: "Setting up Tailwind CSS in Ruby on Rails v7+ project.", + description: "Setting up Tailwind CSS in Ruby on Rails v8+ project.", // NOTE: This intro is not used currently but is here for reference as we'll want to bring it back once the rails gem is updated for a stable v4 release. intro: ( @@ -39,7 +39,7 @@ export let steps: Step[] = [ name: "Terminal", lang: "shell", code: shell` - rails new my-project + rails new my-project --css=tailwind cd my-project `, }, @@ -48,7 +48,7 @@ export let steps: Step[] = [ title: "Install Tailwind CSS", body: (

- Install the tailwindcss-ruby and tailwindcss-rails gems, and then run the install + Alternatively, you can nstall the tailwindcss-rails gem, and then run the install command to set up Tailwind CSS in your project.

), @@ -57,8 +57,7 @@ export let steps: Step[] = [ name: "Terminal", lang: "shell", code: shell` - ./bin/bundle add tailwindcss-ruby - ./bin/bundle add tailwindcss-rails + bundle add tailwindcss-rails ./bin/rails tailwindcss:install `, }, From 6a23fe0487f058b46738e60bd96ef4d2eded0600 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 27 Oct 2025 14:02:11 -0400 Subject: [PATCH 2/2] Update --- .../docs/installation/framework-guides/ruby-on-rails.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/(docs)/docs/installation/framework-guides/ruby-on-rails.tsx b/src/app/(docs)/docs/installation/framework-guides/ruby-on-rails.tsx index c5e767ce4..84ddfa9c4 100644 --- a/src/app/(docs)/docs/installation/framework-guides/ruby-on-rails.tsx +++ b/src/app/(docs)/docs/installation/framework-guides/ruby-on-rails.tsx @@ -39,7 +39,7 @@ export let steps: Step[] = [ name: "Terminal", lang: "shell", code: shell` - rails new my-project --css=tailwind + rails new my-project cd my-project `, }, @@ -48,8 +48,8 @@ export let steps: Step[] = [ title: "Install Tailwind CSS", body: (

- Alternatively, you can nstall the tailwindcss-rails gem, and then run the install - command to set up Tailwind CSS in your project. + Install the tailwindcss-rails gem then run the install command to set up Tailwind CSS in your + project.

),