# Loaderror: rubygems/security - config file testing

**URL:** <https://discuss.elastic.co/t/loaderror-rubygems-security-config-file-testing/245677>\
**Category:** Logstash\
**Created:** [August 19, 2020, 9:00pm UTC](https://discuss.elastic.co/t/loaderror-rubygems-security-config-file-testing/245677 "2020-08-19T21:00:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![biggtimber](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@biggtimber](https://discuss.elastic.co/u/biggtimber)\
**Post date:** [August 19, 2020, 9:00pm UTC](https://discuss.elastic.co/t/loaderror-rubygems-security-config-file-testing/245677/1 "2020-08-19T21:00:31Z")

</div>

I'm running 7.8 that was installed from the ansible-elasticsearch repo. After trying to put in and or/test a logstash config. The test return with this error.

(LoadError) load error: rubygems/security -- java.lang.ExceptionInInitializerError: null

I run with the 'LS\_JAVA\_OPTS="-Djruby.log.exceptions -Djruby.log.backtraces" bin/logstash' and get this [https://pastebin.com/S0U4Yb0b](https://pastebin.com/S0U4Yb0b)

I tried installing ruby,gem and gem install security, but it didn't work.

ubuntu 20.04  
es 7.8  
openjdk 11

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 16, 2020, 9:00pm UTC](https://discuss.elastic.co/t/loaderror-rubygems-security-config-file-testing/245677/2 "2020-09-16T21:00:42Z")

</div>

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