Installing into an existing Rails app
Follow the canonical install path and keep your current Rails structure while adding modern bundling.
Install ShakapackerOfficial docs for Shakapacker
Start from the recommended install flow, then branch into migration, Rspack, TypeScript, and deployment guidance as needed.
Recommended first run
bundle add shakapackerbin/rails shakapacker:installbin/rails assets:precompileFollow with configuration and deployment docs to align your local setup with production.
Choose your path
Follow the canonical install path and keep your current Rails structure while adding modern bundling.
Install ShakapackerUse upgrade checklists and release notes to move between major versions without guessing.
Review upgrade guidanceUse the migration guide to adopt Rspack while preserving existing Rails integration patterns.
Open the Rspack guideDiagnose common compile and runtime failures with practical fixes for Rails production workflows.
Use troubleshooting docsRecommended flow
Recommended first step
Start from the install baseline before tuning advanced options or loader stacks.
bundle add shakapackerStart with configurationInitialize app files
Generate config and binstubs in one step so your app has the expected Shakapacker structure.
bin/rails shakapacker:installRun installer stepsValidate deployment path
Precompile with the same task your deployment pipeline runs so failures show up early.
bin/rails assets:precompileRead deployment docsKey references
View helper and configuration APIs used by production Rails apps.
Open guideEnable TypeScript and choose loader strategies for JavaScript and CSS pipelines.
Open guideFollow major-version upgrade notes for v6 through v9 and common migration pitfalls.
Open guideProduction notes
Shakapacker keeps bundling inside Rails conventions so teams can preserve one deploy pipeline and one operational model.
The docs are synced from the upstream repository, so guidance and code evolve together instead of drifting.
Expert help
ShakaCode maintains Shakapacker and supports teams with setup audits, migration plans, and production debugging. Book a complimentary 30-minute assessment for direct implementation guidance.