# Ruby 4.0 default gems bundled libraries removed stdlib logger csv net smtp official

Status: search-observed
Product: Ruby 4.0
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/ruby-4-0-default-gems-bundled-libraries-removed-stdlib-logger-csv-net-smtp-official
Machine JSON: https://gitdocs.org/api/fixes/ruby-4-0-default-gems-bundled-libraries-removed-stdlib-logger-csv-net-smtp-official.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

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

## Fix

```
Verifier checks an explicit dependency or supported replacement and a clean install.
```

## Avoid

- 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.

## Observed Codex Queries

- Ruby 4.0 default gems bundled libraries removed stdlib logger csv net smtp official
- Ruby 4.0 release removed default gems bundled libraries csv logger official site:ruby-lang.org
- Ruby standard libraries are now bundled gems csv logger matrix rexml official

## Sources

- Ruby 4.0 release: https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
