JavaScript Package Manager Freedom Day

Rails just got way smarter about detecting your JavaScript package manager! Three merged PRs delivered automatic detection of npm, pnpm, yarn, and bun from lockfiles, ending the hardcoded yarn era. Plus, we got improved Active Job Continuation docs with helpful code examples.

Duration: PT3M52S

Episode overview

This episode is a short developer briefing from Ruby on Rails.

It explains recent repository work in plain language.

  • Show: Ruby on Rails
  • Published: 2026-01-22T11:10:38Z
  • Audio duration: PT3M52S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hey there, wonderful Rails developers! Welcome back to another episode of Ruby on Rails daily. I'm absolutely buzzing about today's changes because we just witnessed something I've been hoping to see for a long time - Rails finally getting smart about JavaScript package managers!

So here's the story: for the longest time, Rails generators have been pretty stubborn about one thing - they just assumed you were using yarn for JavaScript package management. And look, yarn is great, but what if your team prefers npm? Or maybe you're one of those forward-thinking developers who've jumped on the…

But that all changed with today's main event - a fantastic pull request from contributor dfl that completely revolutionizes how Rails handles JavaScript package managers. This isn't just a small tweak, folks. We're talking about 241 lines added across 7 files, and it touches everything from Action Cable generators…

Here's what's beautiful about this change - Rails now automatically detects your package manager by looking at your lockfiles. Got a package-lock.json? Rails knows you're using npm. See a pnpm-lock.yaml? Rails switches to pnpm mode. It's like Rails suddenly learned to read the room and…

T…

Nearby episodes from Ruby on Rails

  1. Small Changes, Big Impact
  2. Spring Cleaning and Polish Day
  3. Cache Warnings and Bulk Insert Fixes
  4. Community Care Day - Docs, Developer Experience, and Database Reliability
  5. Spring Cleaning and Polish Day
  6. Future-Proofing Rails for Ruby 4.1
  7. Out with the Old, In with the New
  8. Error Handling Upgrade and Adapter Spring Cleaning