Unable to install logstash-filter-geoip


(Jarryd Beck) #1

Installing logstash-filter-geoip is failing as of this morning.

bin/logstash-plugin install logstash-filter-geoip
Validating logstash-filter-geoip
Installing logstash-filter-geoip
Error Bundler::InstallError, retrying 1/10
An error occurred while installing webrick (1.4.0), and Bundler cannot continue.
Make sure that `gem install webrick -v '1.4.0'` succeeds before bundling.
WARNING: can not set Session#timeout=(0) no session context

If I try to install webrick manually I get this:

ERROR:  Error installing webrick:
	webrick requires Ruby version >= 2.5.0dev.

This seems related to a recent update of webrick: https://rubygems.org/gems/webrick/versions/1.4.0


(Jarryd Beck) #2

Adding @joshuaspence


(Jarryd Beck) #3

It seems like this only happens when we do logstash-plugin install --development, and the development dependencies of logstash-output-http plugin seems to include webrick.


(Joshuaspence) #4

This has already been fixed in https://github.com/elastic/logstash/commit/590e47fcedac1f6e687f8a568067b813b62038c0


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.