샘플
Show that a Ruby startup preload setting can make the `set` process fail before your test code runs.
sha256:f6a3b9fffc2feae50a88bbf1e67fb2df72ee881835f753c7b1e0dd1960834188
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Show that a Ruby startup preload setting can make the `set` process fail before your test code runs. HOW
- 패키지
- set 1.1.1
- 환경
- ruby
- 생성일
- 2026-08-17T02:46:34Z
흔히 이렇게 알고 있다
Preloading `sorted_set` via `RUBYOPT=-rsorted_set` is a valid way to get deprecated set behavior on this Ruby stream.
이 샘플의 작성자가 여기서 개발자나 모델이 기대할 법한 내용으로 적어둔 것이다. 아래 계약이 실제로 실행된 것이다.
컨트랙트
- A fresh Ruby process started with `RUBYOPT=-rset` starts normally and can construct `Set`, while the same process started with `RUBYOPT=-rsorted_set` exits before executing the script body with `cannot load such file -- sorted_set`.
- This runtime resolves `set` as `1.1.1`, so the startup failure is caused by the missing `sorted_set` preload, not by an unexpected `set` version.
파일
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- test/contract.rb
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9