We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2afd1a9 commit c954468Copy full SHA for c954468
1 file changed
ext/json/ext/parser/extconf.rb
@@ -3,7 +3,7 @@
3
4
$defs << "-DJSON_DEBUG" if ENV.fetch("JSON_DEBUG", "0") != "0"
5
6
-if RUBY_ENGINE == 'truffleruby' && RUBY_VERSION < '4.0'
+if RUBY_ENGINE == 'truffleruby' && RUBY_ENGINE_VERSION < '40.0'
7
# Ref: https://github.com/truffleruby/truffleruby/issues/4329
8
# Ref: https://github.com/truffleruby/truffleruby/pull/4333
9
$defs << "-DJSON_TRUFFLERUBY_RB_CATCH_BUG"
0 commit comments