Skip to content

[Maintenance] Update to Bundler 2.4 #14945

@andsel

Description

@andsel

With PR #14894 a first try was done but later reverted with #14942 because was generating OOM during ./gradlew generatePluginsVersion.

This problem presented in the past and is mainly due to the way Bundler is used inside the generatePluginsVersion, the plugins are installed one at a time. This is needed to create a descriptor of the versions installed in Logstash, so that the corresponding documentation could be generated.
The problems is that inside Bundler there is something that caches instances and keeps growing, so a patch was done, described in details here.

With the update to Bundler 2.4 something internal has changed and the patch is not anymore effective.
The incriminated version should be the change between 2.3.23 and 2.3.24, when the DepProxy was removed.

There is some work in #14919 to be used as starting point to fix it.


The PR #14995 reintroduces Bundler 2.4 but also ships a workaround to avoid the logstash-input-cloudwatch and build clean bundler's Dsl internal caches.

This results to be a Bundler issue tracked in ruby/rubygems#6601

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions