logstash-plugins/logstash-filter-geoip

Use Ruby parent environment bundle instead of system's one

andsel opened this issue · 0 comments

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 elastic/logstash#15511
Related logstash-plugins/logstash-filter-date#159