summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsutomu Katsube <tsuto.katsube@gmail.com>2026-05-09 20:36:08 +0900
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2026-05-12 23:39:26 +0900
commit9e0261a9dc1efd17a4698b1a804eb3641520d9da (patch)
tree0e48c623b72b7e3990c3f7d7d67249553f39f7be
parent0fa6cb88f5e238e819cd663b1edc80db59a74b2a (diff)
[Bug #22057] test-bundler: add `--enable-gems` explicitly
This is because `make test-bundler-parallel` command, which runs successfully via turbo_tests, does not have `--disable-gems` option specified. `--disable-gems` is currently set in `RUN_OPTS`. Removing it would affect not only test-bundler but the entire test suite, so I have configured it specifically for this command instead. This patch will fix an error in `./spec/bundler/bundler/cli_common_spec.rb` when executing `make test-bundler`. Co-authored-by: Sutou Kouhei <kou@clear-code.com>
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index a43b9304f7..4407bc41fd 100644
--- a/common.mk
+++ b/common.mk
@@ -1687,7 +1687,7 @@ BUNDLER_SPECS =
PREPARE_BUNDLER = $(TEST_RUNNABLE)-test-bundler-prepare
test-bundler: $(TEST_RUNNABLE)-test-bundler
yes-test-bundler: $(PREPARE_BUNDLER)
- $(gnumake_recursive)$(XRUBY) \
+ $(gnumake_recursive)$(XRUBY) --enable-gems \
-r./$(arch)-fake \
-r$(tooldir)/lib/_tmpdir \
-I$(srcdir)/spec/bundler -I$(srcdir)/spec/lib \