#926280 Don't bundle rubygems

Package:
jruby
Source:
jruby
Submitter:
Moritz Muehlenhoff
Date:
2020-12-23 19:39:03 UTC
Severity:
important
#926280#5
Date:
2019-04-02 20:23:13 UTC
From:
To:
(This bug isn't really actionable yet, as it depends on #926278 getting fixed
in src:ruby2.5)

Please don't use the bundled rubygems any longer, but instead a copy shared
with the C-based Ruby interpreter.

Given that most of the security issues in the C-based interpreter don't
affect Jruby (apart from the rubygems) this will considerably reduce the
overhead for keeping jruby updated in stable/oldstable.

I spoke to upstream (CCed) earlier and they confirmed that jruby bundles
the rubygems unmodified, so that should not cause any run time issues.

Cheers,
        Moritz

#926280#12
Date:
2020-12-23 19:36:44 UTC
From:
To:
The latest upstream release of jruby is only compatible with ruby 2.5
(see [1] for the progress on 2.7), so I don't think this is feasible.

The ruby team is planning on uploading ruby 3.x after the bullseye
freeze and I don't believe jruby can keep up.

[1]: https://github.com/jruby/jruby/issues/6464