ruby-changes:60558
From: Charles <ko1@a...>
Date: Sun, 29 Mar 2020 04:45:22 +0900 (JST)
Subject: [ruby-changes:60558] 2b6848af0e (master): [ruby/irb] Require jruby lib to get JRuby.compile_ir
https://git.ruby-lang.org/ruby.git/commit/?id=2b6848af0e From 2b6848af0e93dab08af2721454a4318d13a5313b Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter <headius@h...> Date: Fri, 27 Mar 2020 21:15:01 -0500 Subject: [ruby/irb] Require jruby lib to get JRuby.compile_ir https://github.com/ruby/irb/commit/dc59afe4f6 diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index d5630c8..0c71d5e 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -11,6 +11,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/irb/ruby-lex.rb#L11 # require "ripper" +require "jruby" if RUBY_ENGINE == "jruby" # :stopdoc: class RubyLex -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/