summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorDaisuke Aritomo <osyoyu@osyoyu.com>2025-12-03 02:25:46 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-15 16:16:16 +0900
commit943b0859498c5a49242e6f8563b1f518599fff0f (patch)
tree7caaea61023c665f113367e0c63a27215e89afb7 /test/ruby
parentde17b84a3d557007bbaf00b4f17d843ed854ee7a (diff)
[Bug #21723] Let `binding.irb` properly load irb by fixing force_activate()
This patch fixes a problem where `binding.irb` (= force_activate('irb')) fails under `bundle exec` when the Gemfile does not contain `irb` and does contain a gem which is (1) not installed in GEM_HOME (2) sourced using `path:`/`git:`. The original approach constructing a temporary definition fails since it does not set the equalivent of `path:`/`git:`. Always reconstructing a definition from a Gemfile and applying lockfile constraints should be a more robust approach. [Bug #21723]
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions