# Logstash start Gem::LoadError:

**URL:** <https://discuss.elastic.co/t/logstash-start-gem-loaderror/115424>\
**Category:** Logstash\
**Created:** [January 14, 2018, 12:32am UTC](https://discuss.elastic.co/t/logstash-start-gem-loaderror/115424 "2018-01-14T00:32:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stvoffutt](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@stvoffutt](https://discuss.elastic.co/u/stvoffutt)\
**Post date:** [January 14, 2018, 12:32am UTC](https://discuss.elastic.co/t/logstash-start-gem-loaderror/115424/1 "2018-01-14T00:32:51Z")

</div>

New to ELK here. I am following install instructions for Logstash on Ubuntu 16.04. Elasticsearch and Kibana are already installed and function properly. When I run `DEBUG=1 bin/logstash -e 'input { stdin { } } output { stdout {} }'` from `/usr/share/logstash` I get the following error:

```auto
DEBUG: exec /usr/share/logstash/vendor/jruby/bin/jruby /usr/share/logstash/lib/bootstrap/environment.rb logstash/runner.rb -e input { stdin { } } output { stdout {} }
Gem::LoadError: You have already activated jar-dependencies 0.3.12, but your Gemfile requires jar-dependencies 0.3.11. Prepending `bundle exec` to your command may solve this.
  block in setup at /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/bundler-1.9.10/lib/bundler/runtime.rb:34
            each at org/jruby/RubyArray.java:1734
            each at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/forwardable.rb:189
           setup at /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/bundler-1.9.10/lib/bundler/runtime.rb:19
           setup at /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/bundler-1.9.10/lib/bundler.rb:122
          setup! at /usr/share/logstash/lib/bootstrap/bundler.rb:57
          <main> at /usr/share/logstash/lib/bootstrap/environment.rb:63

```

It seems there are dependency issues here? I installed logstash from the repositories, version 6.1.1-1. I googled around and couldn't find much to answer my question to why this doesn't work.

---

<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:** [February 11, 2018, 12:32am UTC](https://discuss.elastic.co/t/logstash-start-gem-loaderror/115424/2 "2018-02-11T00:32:57Z")

</div>

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