Avoid to unintentional Bundler definition by Bundler::Definition.no_lock
authorHiroshi SHIBATA <[email protected]>
Fri, 27 Sep 2024 09:36:47 +0000 (27 18:36 +0900)
committerHiroshi SHIBATA <[email protected]>
Fri, 27 Sep 2024 09:39:05 +0000 (27 18:39 +0900)
tool/test_for_warn_bundled_gems/test_warn_bundled_gems.rb

index bd0e184..a8f065a 100644 (file)
@@ -7,5 +7,7 @@ gemfile do
   source "https://rubygems.org"
 end
 
+Object.send(:remove_const, :Bundler)
+
 require "mutex_m"
 require "rss"