# Error when installing plugin

**URL:** <https://discuss.elastic.co/t/error-when-installing-plugin/77407>\
**Category:** Logstash\
**Created:** [March 5, 2017, 12:41am UTC](https://discuss.elastic.co/t/error-when-installing-plugin/77407 "2017-03-05T00:41:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ranieri\_Mazili\_de\_Ol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranieri_mazili_de_ol/32/15815_2.png) [@Ranieri\_Mazili\_de\_Ol](https://discuss.elastic.co/u/Ranieri_Mazili_de_Ol)\
**Post date:** [March 5, 2017, 12:41am UTC](https://discuss.elastic.co/t/error-when-installing-plugin/77407/1 "2017-03-05T00:41:55Z")

</div>

Hello,

I'm trying to install logstash-input-jms plugin but when I run the commando logstash-plugin install --no-verify logstash-input-jms I'm receiving the following message:

> Installing logstash-input-jms  
> Error Bundler::InstallError, retrying 1/10  
> An error occurred while installing semantic\_logger (4.0.0), and Bundler cannot continue.  
> ERROR: Installation Aborted, message: An error occurred while installing semantic\_logger (4.0.0), and Bundler cannot continue.  
> Make sure that `gem install semantic_logger -v '4.0.0'` succeeds before bundling.

So, investigating the problem I've try to execute the command mentioned in the error using gem that inside logstash (vendor/jruby/bin/gem) and I've received the following message when I tried to run the command to install semantic\_logger

> gem install semantic\_logger -v '4.0.0'  
> Fetching: concurrent-ruby-1.0.5-java.gem (100%)  
> Successfully installed concurrent-ruby-1.0.5-java  
> Fetching: semantic\_logger-4.0.0.gem (100%)  
> ERROR: Error installing semantic\_logger:  
> semantic\_logger requires Ruby version \>= 2.1.

I could see that logstash-5.2.2 uses jruby 1.7.25.

> jruby.bat --version  
> jruby 1.7.25 (1.9.3p551) 2016-04-13 867cb81 on Java HotSpot(TM) 64-Bit Server VM 1.8.0\_121-b13 +jit [Windows 10-amd64]

One week ago I could install this plugin without problems but now I can't. I also noticed that a new version of semantic\_logger (4.0.0) was released two days ago, probably something changed and that's the reason of the problem but I have no idea of how to solve it.

Maybe a way to workaround this is force to use semantic\_logger 3.4.1 instead of new version 4.0.0 but I don't know if is possible to force a specific version of a dependency when installing the plugin.

Does anybody knows how to make it work?

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 5, 2017, 7:16pm UTC](https://discuss.elastic.co/t/error-when-installing-plugin/77407/2 "2017-03-05T19:16:39Z")

</div>

What version of LS are you using?

---

<div class="post-metadata">

**Author:** ![Ranieri\_Mazili\_de\_Ol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranieri_mazili_de_ol/32/15815_2.png) [@Ranieri\_Mazili\_de\_Ol](https://discuss.elastic.co/u/Ranieri_Mazili_de_Ol)\
**Post date:** [March 5, 2017, 7:27pm UTC](https://discuss.elastic.co/t/error-when-installing-plugin/77407/3 "2017-03-05T19:27:49Z")

</div>

5.2.2

---

<div class="post-metadata">

**Author:** ![Ranieri\_Mazili\_de\_Ol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranieri_mazili_de_ol/32/15815_2.png) [@Ranieri\_Mazili\_de\_Ol](https://discuss.elastic.co/u/Ranieri_Mazili_de_Ol)\
**Post date:** [March 7, 2017, 2:58am UTC](https://discuss.elastic.co/t/error-when-installing-plugin/77407/4 "2017-03-07T02:58:48Z")

</div>

The plugin was upgraded to solve this problem.

---

<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:** [April 4, 2017, 2:59am UTC](https://discuss.elastic.co/t/error-when-installing-plugin/77407/5 "2017-04-04T02:59:06Z")

</div>

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