Guide to Rails 7 and the Asset Pipeline

I’ve had some time to talk to others, and was offered a simplified explanation of what you are expected to choose:

The default (without node/yarn)

  • Rails 7: Import Maps + Sprockets
  • Rails 8: Import Maps + Propshaft

The “choose your own bundler” (with node/yarn)

  • Rails 7: Bundling Gems + Sprockets
  • Rails 8: Bundling Gems + Propshaft

I’ll also admit that the way I’ve written this guide makes it look more complicated, because I was trying to explain all the gems and give advice for three different types of users.

4 Likes