Skip to content

Commit c3bbc27

Browse files
ihabadhamclaude
andcommitted
Fix staging deploy by upgrading Shakapacker to 8.2.0
React on Rails 16.0.1.rc.2 requires Shakapacker >= 8.2.0 for proper packer_type detection. Without this, the clean task invocation fails with 'Don't know how to build task :clean' during assets:precompile. This upgrade ensures the correct 'shakapacker:clean' task is invoked instead of the non-existent ':clean' task. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ea788b7 commit c3bbc27

File tree

4 files changed

+1414
-1297
lines changed

4 files changed

+1414
-1297
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
66
ruby "3.3.4"
77

88
gem "react_on_rails", "16.0.1.rc.2"
9-
gem "shakapacker", "8.0.0"
9+
gem "shakapacker", "8.2.0"
1010

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

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ GEM
389389
websocket (~> 1.0)
390390
semantic_range (3.1.0)
391391
sexp_processor (4.17.1)
392-
shakapacker (8.0.0)
392+
shakapacker (8.2.0)
393393
activesupport (>= 5.2)
394394
package_json
395395
rack-proxy (>= 0.6.1)
@@ -497,7 +497,7 @@ DEPENDENCIES
497497
scss_lint
498498
sdoc
499499
selenium-webdriver (~> 4)
500-
shakapacker (= 8.0.0)
500+
shakapacker (= 8.2.0)
501501
spring
502502
spring-commands-rspec
503503
stimulus-rails (~> 1.3)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"sass": "^1.58.3",
9494
"sass-loader": "^13.3.2",
9595
"sass-resources-loader": "^2.2.5",
96-
"shakapacker": "8.0.0",
96+
"shakapacker": "^8.2.0",
9797
"stimulus": "^3.0.1",
9898
"style-loader": "^3.3.1",
9999
"tailwindcss": "^3.3.3",

0 commit comments

Comments
 (0)