Update z_rubycheck.rake to no longer inject Xmx1g

This allows the environment variable JRUBY_OPTS to be used for setting properties like Xmx
original pr: #16420
This commit is contained in:
kaisecheng 2025-02-28 15:22:34 +00:00 committed by GitHub
parent fecfc7c602
commit f562f37df2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ if ENV['USE_RUBY'] != '1'
# Ignore Environment JAVA_OPTS
ENV["JAVA_OPTS"] = ""
exec(jruby, "-J-Xmx1g", "-S", rake, *ARGV)
exec(jruby, "-S", rake, *ARGV)
end
end