summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-15 14:14:48 +0800
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-15 14:14:48 +0800
commitcc9aeec23e260a42fea9bf27835331ff76d24c4a (patch)
tree5d0bcc67cba72669994fcd8ee155a50ee57c2274 /tool
parentc3ae4b6ae12546a1b5adb33f8789a7bddd4739f1 (diff)
Explained about test_for_warn_bundled_gems
Diffstat (limited to 'tool')
-rw-r--r--tool/test_for_warn_bundled_gems/README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/tool/test_for_warn_bundled_gems/README.md b/tool/test_for_warn_bundled_gems/README.md
new file mode 100644
index 0000000000..318f6a0efd
--- /dev/null
+++ b/tool/test_for_warn_bundled_gems/README.md
@@ -0,0 +1,21 @@
+This directory contains tests for the bundled gems warning under the Bundler.
+
+## Warning cases
+
+test_warn_bundled_gems.rb:
+test_warn_dependency.rb:
+test_warn_dash_gem.rb:
+ $ ruby test_warn_dash_gem.rb
+
+test_warn_bundle_exec.rb:
+ $ bundle exec ruby test_warn_bundle_exec.rb
+
+test_warn_bundle_exec_shebang.rb:
+ $ bundle exec ./test_warn_bundle_exec_shebang.rb
+
+## Not warning cases
+
+test_no_warn_dash_gem.rb:
+test_no_warn_bootsnap.rb:
+test_no_warn_dependency.rb:
+ $ ruby test_no_warn_dash_gem.rb