Skip to content

Review LS startup to re-use expanded JRuby bits #12741

@kares

Description

@kares

ATM, LS startup depends on jruby-complete.jar (which includes the Ruby stdlib) from logstash-core/lib/jars.
On the other hand, LS has an expanded JRuby installation located at vendor/jruby.

The JRuby installation includes the (core) vendor/jrubylib/jruby.jar and also the stdlib files, but LS is only using these for it's logstash-plugin management script.

This is confusing (run into this while trying to upgrade RubyGems - just to find out the files are not used on normal LS startup) and bin/logstash should rather re-use it's JRuby installation bits.


NOTE: this issue is blocking a potential easy resolution for #12077 (upgrading RGs to latest)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions