Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 2acdb3e

Browse files
committed
JRuby fix
1 parent e95cfe3 commit 2acdb3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/support/aruba_support.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
if RSpec::Support::Ruby.jruby? && RSpec::Support::Ruby.jruby_version == "9.1.17.0"
2+
# A regression appeared in require_relative in JRuby 9.1.17.0 where require some
3+
# how ends up private, this changes the visibility back to public.
4+
::Kernel.send(:public, :require)
5+
end
6+
17
module ArubaLoader
28
extend RSpec::Support::WithIsolatedStdErr
39
with_isolated_stderr do

0 commit comments

Comments
 (0)