logstash-plugins / logstash-filter-dissect

Extract structured fields from an unstructured line
Apache License 2.0
13 stars 22 forks source link

Use Ruby parent environment bundle instead of system's one #89

Closed andsel closed 10 months ago

andsel commented 10 months ago

The Rakefile script defines a vendor task which determines the Logstash path issuing the command:

lsc_path = `bundle show logstash-core`

This command executes the bundle associated with the system's Ruby environment. If the rake vendor task is executed from another (not the default Ruby) Ruby installation, then this spawned bundler must be the coming from the launching Ruby distribution.


Related https://github.com/elastic/logstash/pull/15511 Related https://github.com/logstash-plugins/logstash-filter-date/issues/159