# Logstash error - Bundler::GemNotFound: Could not find jar-dependencies-0.4.1 in any of the sources

**URL:** <https://discuss.elastic.co/t/logstash-error-bundler-could-not-find-jar-dependencies-0-4-1-in-any-of-the-sources/285658>\
**Category:** Logstash\
**Created:** [October 1, 2021, 8:15am UTC](https://discuss.elastic.co/t/logstash-error-bundler-could-not-find-jar-dependencies-0-4-1-in-any-of-the-sources/285658 "2021-10-01T08:15:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mario\_Sabetta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_sabetta/32/80928_2.png) [@Mario\_Sabetta](https://discuss.elastic.co/u/Mario_Sabetta)\
**Post date:** [October 1, 2021, 8:15am UTC](https://discuss.elastic.co/t/logstash-error-bundler-could-not-find-jar-dependencies-0-4-1-in-any-of-the-sources/285658/1 "2021-10-01T08:15:08Z")

</div>

Hello everyone,  
I started logstash 7.15.0 and I encountered an event with the following error message and it tells me that the bundler cannot find the gem jar-dependencies-0.4.1. What needs to be done? Thanks for the attention.  
P.S. The command works from a linux terminal

```auto
**{**
 **"@timestamp" => 2021-10-01T07:57:34.679Z,**
 **"command" => "cd /home/devuser/logstash_input/filters && ./run_main.sh",**
 **"@version" => "1",**
 **"host" => "ittroldev0001",**
 **"message" => "Bundler::GemNotFound: Could not find jar-dependencies-0.4.1 in any of the sources\n materialize at /home/devuser/logstash-7.15.0/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.27/lib/bundler/definition.rb:496\n specs_for at /home/devuser/logstash-7.15.0/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.27/lib/bundler/definition.rb:234\n setup at /home/devuser/logstash-7.15.0/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.27/lib/bundler/runtime.rb:18\n setup at /home/devuser/logstash-7.15.0/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.27/lib/bundler.rb:149\n <main> at /home/devuser/logstash-7.15.0/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.27/lib/bundler/setup.rb:20\n with_level at /home/devuser/logstash-7.15.0/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.27/lib/bundler/ui/shell.rb:136\n silence at /home/devuser/logstash-7.15.0/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.27/lib/bundler/ui/shell.rb:88\n <main> at /home/devuser/logstash-7.15.0/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.27/lib/bundler/setup.rb:20\n require at org/jruby/RubyKernel.java:974\n require at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54\n"**
 **}**

```

---

<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:** [October 29, 2021, 8:15am UTC](https://discuss.elastic.co/t/logstash-error-bundler-could-not-find-jar-dependencies-0-4-1-in-any-of-the-sources/285658/2 "2021-10-29T08:15:11Z")

</div>

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