Getting below error while starting Logstash:-
[ERROR] 2020-07-21 16:04:29.491 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (GemspecError)
[!] There was an error while loading logstash-core-plugin-api.gemspec
: cannot load (ext) (org.jruby.ext.psych.PsychLibrary). Bundler cannot continue.
from F:/softwares/logstash-7.8.0/logstash-core-plugin-api/logstash-core-plugin-api.gemspec:23
-------------------------------------------
end
end