Skip to content

Commit 14cd65d

Browse files
authored
Validate tutorial on React on Rails 17.2.1 RC (#871)
Pin the published candidate gems and npm packages with compatible React/RSC 19.3.1. Align Ruby runtime, image and CI inputs to 3.4.9. Build RSpec assets in test mode so first-request compilation preserves renderer artifact identity. Refs shakacode/react_on_rails#5245. Post-merge workflow exercise is tracked in #872.
1 parent 9411ee8 commit 14cd65d

12 files changed

Lines changed: 63 additions & 63 deletions

File tree

‎.controlplane/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
2-
ARG RUBY_VERSION=3.4.6
2+
ARG RUBY_VERSION=3.4.9
33
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base
44

55
# Current commit hash environment variable

‎.github/workflows/demo-fleet-smoke.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
smoke:
1414
uses: shakacode/react_on_rails/.github/workflows/demo-fleet-smoke.yml@613c6c2a251a782328b26d68e7f23daa9b677497 # Source snapshot 2026-07-18
1515
with:
16-
ruby-version: "3.4.6"
16+
ruby-version: "3.4.9"
1717
node-version: "22"
1818
install-command: >-
1919
bundle config set path vendor/bundle && bundle install --jobs 4 --retry 3 && yarn install --frozen-lockfile &&

‎.github/workflows/js_test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
node: [22.x]
20-
ruby: [3.4.6]
20+
ruby: [3.4.9]
2121

2222
env:
2323
RAILS_ENV: test

‎.github/workflows/lint_test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
node: [22.x]
20-
ruby: [3.4.6]
20+
ruby: [3.4.9]
2121

2222
env:
2323
RAILS_ENV: test

‎.github/workflows/rspec_test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
node: [22.x]
20-
ruby: [3.4.6]
20+
ruby: [3.4.9]
2121

2222
services:
2323
postgres:
@@ -88,7 +88,7 @@ jobs:
8888
run: yarn res:build
8989

9090
- name: Build shakapacker chunks
91-
run: NODE_ENV=development bundle exec bin/shakapacker
91+
run: bundle exec bin/shakapacker
9292

9393
- name: Start Node renderer for SSR
9494
run: |

‎.ruby-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.6
1+
3.4.9

‎Gemfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
source "https://rubygems.org"
44
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55

6-
ruby "3.4.6"
6+
ruby "3.4.9"
77

88
gem "cpflow", "6.0.1", require: false
9-
gem "react_on_rails_pro", "17.2.0"
9+
gem "react_on_rails_pro", "17.2.1.rc.0"
1010
gem "shakapacker", "10.3.2"
1111

1212
# Bundle edge Rails instead: gem "rails", github: "rails/rails"

‎Gemfile.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -343,21 +343,21 @@ GEM
343343
erb
344344
psych (>= 4.0.0)
345345
tsort
346-
react_on_rails (17.2.0)
346+
react_on_rails (17.2.1.rc.0)
347347
addressable
348348
connection_pool
349349
execjs (~> 2.5)
350350
rails (>= 5.2)
351351
rainbow (~> 3.0)
352352
shakapacker (>= 6.0)
353-
react_on_rails_pro (17.2.0)
353+
react_on_rails_pro (17.2.1.rc.0)
354354
async (>= 2.29)
355355
async-http (~> 0.95)
356356
execjs (~> 2.9)
357357
io-endpoint (~> 0.17.0)
358358
jwt (>= 2.8, < 4)
359359
nokogiri (>= 1.12, < 2)
360-
react_on_rails (= 17.2.0)
360+
react_on_rails (= 17.2.1.rc.0)
361361
redcarpet (3.6.0)
362362
redis (5.3.0)
363363
redis-client (>= 0.22.0)
@@ -540,7 +540,7 @@ DEPENDENCIES
540540
rails-html-sanitizer
541541
rails_best_practices
542542
rainbow
543-
react_on_rails_pro (= 17.2.0)
543+
react_on_rails_pro (= 17.2.1.rc.0)
544544
redcarpet
545545
redis (~> 5.0)
546546
rspec-rails (~> 6.0.0)
@@ -562,7 +562,7 @@ DEPENDENCIES
562562
web-console
563563

564564
RUBY VERSION
565-
ruby 3.4.6p54
565+
ruby 3.4.9p82
566566

567567
BUNDLED WITH
568568
2.4.17

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ See package.json and Gemfile for versions
129129

130130
### Prerequisites
131131
- Node `v22.3.0` or above. Be sure that you have Node installed! We suggest using [nvm](https://github.com/creationix/nvm) and running `nvm list` to check the active Node version. See this article [Updating and using nvm](http://forum.shakacode.com/t/updating-and-using-nvm/293).
132-
- Ruby 3.4.6 or above
132+
- Ruby 3.4.9 or above
133133
- Postgres v9.2 or above
134134
- Redis. Check that you have Redis installed by running `which redis-server`. If missing and on MacOS, install with Homebrew (`brew install redis`)
135135
- [Yarn](https://yarnpkg.com/).
@@ -184,13 +184,13 @@ assets_bundler: rspack
184184

185185
### Version Targets
186186

187-
- `react_on_rails_pro` gem: `17.1.0`
188-
- `react-on-rails-pro` npm package: `17.1.0`
189-
- `react-on-rails-pro-node-renderer` npm package: `17.1.0`
190-
- `react-on-rails-rsc` npm package: `19.3.0`
191-
- `shakapacker` gem/npm package: `10.2.0`
187+
- `react_on_rails_pro` gem: `17.2.1.rc.0`
188+
- `react-on-rails-pro` npm package: `17.2.1-rc.0`
189+
- `react-on-rails-pro-node-renderer` npm package: `17.2.1-rc.0`
190+
- `react-on-rails-rsc` npm package: `19.3.1`
191+
- `shakapacker` gem/npm package: `10.3.2`
192192
- `@rspack/core` and `@rspack/cli`: `2.0.4`
193-
- `react`, `react-dom`, and `react-server-dom-webpack`: `19.2.8` (exact RC validation pins)
193+
- `react`, `react-dom`, and `react-server-dom-webpack`: `19.3.1` (exact RC validation pins)
194194

195195
### Why Rspack
196196

‎conductor-setup.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ run_cmd() {
4040
fi
4141
}
4242

43-
# Note: This project requires Ruby 3.4.6.
43+
# Note: This project requires Ruby 3.4.9.
4444
# Please ensure you have the correct Ruby version active before running this script.
4545

4646
# Check required tools

0 commit comments

Comments
 (0)