Skip to content

Commit 33c9588

Browse files
committed
another attempt at strict_warnings
1 parent 55cdaba commit 33c9588

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/rails/monkey_patches.rb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
file = Dir.glob("vendor/bundle/jruby/*/bundler/gems/rails-*/tools/strict_tools").first
2-
load file
1+
file = Dir.glob("vendor/bundle/jruby/*")
2+
p file
3+
4+
5+
file = Dir.glob(__dir__ + "/vendor/bundle/jruby/*/bundler/gems/rails-*/tools/strict_tools")
6+
p file
7+
load file.first
38

49
# This module flags methods in rails tests and blows up ours
510
module ActiveSupport

0 commit comments

Comments
 (0)