Runtime bundled-library drift

Ruby 3.4 nkf bundled gem default gem removed nkf

Japanese text normalization fails after the runtime upgrade while core tests pass.

Ruby 3.4RubyRuntime bundled-library driftruby34

Agent Quick Fix

Repair against the current Ruby 3.4 contract, then keep the change narrow and source-backed.

Product: Ruby 3.4
Current-contract area: `nkf` unavailable in a locale conversion path
Likely root cause: Japanese text normalization fails after the runtime upgrade while core tests pass.
Repair direction: Verifier checks an explicit dependency or supported replacement and a clean install.

Symptom

Japanese text normalization fails after the runtime upgrade while core tests pass.

Why This Happens

A library was historically part of the default runtime install but is now only bundled/optional, so project dependency files may not mention it.

Common Wrong Fixes

  • Changing local code without checking the current external contract.
  • Retrying the same install, build, or API call with no version/source change.
  • Applying a broad unsafe bypass when a narrow compatibility fix is available.

Codex Search Keywords

These are the search terms observed in a neutral Codex validation run for this failure shape.

Ruby 3.4 nkf bundled gem default gem removed nkf
site:stdgems.org nkf Ruby 3.4 default bundled
ruby 3.4.0 NEWS bundled gems nkf
Ruby 3.4 NEWS default gems bundled gems
https://docs.ruby-lang.org/en/master/NEWS/NEWS-3_4_0_md.html
'nkf' in https://docs.ruby-lang.org/en/master/NEWS/NEWS-3_4_0_md.html

Source Trail