Hi,
I have the task to prepare installation of logstash on old servers running centos 6.7 (up to date patchlevel).
When I want to create the keystore I get following error:
bash-4.1$ ./logstash-keystore --path.settings /etc/logstash/config_sets/all/0 create
NameError: uninitialized constant Gem::Deprecate
const_missing at org/jruby/RubyModule.java:3746
singleton class at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems.rb:377
<module:Gem> at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems.rb:376
<main> at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems.rb:117
require at org/jruby/RubyKernel.java:987
<main> at uri:classloader:/jruby/kernel/gem_prelude.rb:1
load at org/jruby/RubyKernel.java:1022
<main> at uri:classloader:/jruby/kernel/gem_prelude.rb:3
On centos 6.10 or 7.x it runs fine. But I have the task to get it run on that given machine.
Any Ideas?
Thanks a lot, Andreas