Skip to content

Commit 4e6569d

Browse files
Only require 'java' on JRuby
1 parent 6dbb084 commit 4e6569d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/march_hare.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: utf-8
22

3-
require 'java'
3+
require 'java' unless defined?(TruffleRuby)
44

55
# Java client logging depends on SLF4J
66
require 'ext/slf4j-api'

0 commit comments

Comments
 (0)