---
title: "Migrating from Sprockets to Propshaft in Rails 8"
url: https://daily.dev/posts/migrating-from-sprockets-to-propshaft-in-rails-8-m5btxoyey
source_url: https://blog.saeloun.com/2026/05/19/rails-8-uses-propshaft-by-default
type: article
source: "Saeloun"
published: 2026-05-19T12:03:38.229Z
updated: 2026-05-19T12:04:00.359Z
tags: ["rails"]
reading_time: 4
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrating from Sprockets to Propshaft in Rails 8

**[Saeloun](https://daily.dev/sources/saeloun)** · 4 min read · 0 upvotes · 0 comments

## Summary

Rails 8 replaces Sprockets with Propshaft as the default asset pipeline. Propshaft is a lightweight pipeline focused solely on fingerprinting and serving assets, delegating bundling and transpilation to dedicated tools like esbuild or Import Maps. A step-by-step migration guide covers updating the Gemfile, installing npm packages, and migrating popular libraries including Bootstrap, jQuery, Select2, and Font Awesome from gem-based assets to npm packages. The guide also addresses handling gems without npm equivalents (like cocoon), CSS asset path changes, common errors and their fixes, and scenarios where staying with Sprockets may be preferable.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.saeloun.com/2026/05/19/rails-8-uses-propshaft-by-default>

## Similar posts on daily.dev

- [How to Port Legacy Rails Apps to Propshaft](https://daily.dev/posts/how-to-port-legacy-rails-apps-to-propshaft-qkig5u6b9) · Ruby Flow · 0 upvotes · 0 comments
- [Asset pipelines: just say no](https://daily.dev/posts/asset-pipelines-just-say-no-b4lyss4g9) · RUBYLAND · 0 upvotes · 0 comments
- [Migrating a Rails App From Sprockets to JS Bundling With Esbuild - FastRuby.io](https://daily.dev/posts/migrating-a-rails-app-from-sprockets-to-js-bundling-with-esbuild---fastruby-io-rpjdmjyyn) · RUBYLAND · 0 upvotes · 0 comments
- [Now you see it: Vite on Rails without the proxy—Martian Chronicles, Evil Martians’ team blog](https://daily.dev/posts/now-you-see-it-vite-on-rails-without-the-proxy-martian-chronicles-evil-martians-team-blog-6t9lf1zfx) · Martian Chronicles · 0 upvotes · 0 comments
- [Making Sense of JavaScript in Rails: Webpack, Rollup, esbuild, and Importmaps](https://daily.dev/posts/making-sense-of-javascript-in-rails-webpack-rollup-esbuild-and-importmaps-knxxynth9) · Ruby Flow · 1 upvotes · 0 comments

---

Tags: [#rails](https://daily.dev/tags/rails)

[View this post on daily.dev](https://daily.dev/posts/migrating-from-sprockets-to-propshaft-in-rails-8-m5btxoyey)
