mirror of
https://github.com/ruby/ruby.git
synced 2026-08-19 09:40:12 +08:00
With spec/ at the repo root, rspec auto-adds lib/ to $LOAD_PATH, which now points to the repo's rubygems lib instead of bundler's lib. This causes a conflict between system and local rubygems. Adding switch_rubygems ensures a clean local rubygems load from the start. Also default RGV to "." so no environment variables are needed to run bin/rspec or bin/parallel_rspec. https://github.com/ruby/rubygems/commit/b4774e3aab Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>