Skip to content

Commit 349e30d

Browse files
authored
Update basic.rb
Since JRuby-9.2.11.xx need to explicitly import `jruby`, import `java`doesn't work anymore (correct me if I'm wrong)
1 parent 5ec3a39 commit 349e30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/basic/lib/basic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: utf-8
22
# frozen_string_literal: true
3-
require 'java' # we must use jruby runtime
3+
require 'jruby' # we must use jruby runtime
44

55
# load the jar from the local directory
66
require_relative 'jruby-ext.jar'

0 commit comments

Comments
 (0)