logstash-plugins / logstash-filter-geoip

Apache License 2.0
64 stars 82 forks source link

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

Closed andsel closed 1 year ago

andsel commented 1 year 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