# Cannot install logstash-input-salesforce

**URL:** <https://discuss.elastic.co/t/cannot-install-logstash-input-salesforce/197210>\
**Category:** Logstash\
**Created:** [August 28, 2019, 7:41pm UTC](https://discuss.elastic.co/t/cannot-install-logstash-input-salesforce/197210 "2019-08-28T19:41:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trent.dierking](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@trent.dierking](https://discuss.elastic.co/u/trent.dierking)\
**Post date:** [August 28, 2019, 7:41pm UTC](https://discuss.elastic.co/t/cannot-install-logstash-input-salesforce/197210/1 "2019-08-28T19:41:22Z")

</div>

After a fresh install of logstash

```
# /usr/share/logstash/bin/logstash-plugin install --version 3.0.5 --no-verify logstash-input-salesforce
Installing logstash-input-salesforce
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "faraday":
  In snapshot (Gemfile.lock):
    faraday (= 0.15.4)

  In Gemfile:
    logstash-input-rss java was resolved to 3.0.5, which depends on
      faraday java

    logstash-input-salesforce (= 3.0.5) java was resolved to 3.0.5, which depends on
      restforce (~> 2.4.2) java was resolved to 2.4.2, which depends on
        faraday (~> 0.9.0) java

    octokit (~> 4) java was resolved to 4.14.0, which depends on
      sawyer (>= 0.5.3, ~> 0.8.0) java was resolved to 0.8.2, which depends on
        faraday (> 0.8, < 2.0) java

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

```

I am not really sure what the conflict is here. It seems that logstash wants a version of faraday that is greater than 0.8, and less than 2.0; which 0.15 fulfills.

All I can find indicates this is a problem with the way logstash is built, that the devs must change. That information is almost 2 years old at this point.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 28, 2019, 7:47pm UTC](https://discuss.elastic.co/t/cannot-install-logstash-input-salesforce/197210/2 "2019-08-28T19:47:06Z")

</div>

> [@trent.dierking](#):
>
> faraday (~\> 0.9.0) java

My understanding is that a ~ dependency only allows you to change the last field of the specified version. So ~\> 0.9.0 can be any version of 0.9. 0.15.4 does not satisfy that dependency, although it would satisfy ~\> 0.9

---

<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 25, 2019, 7:47pm UTC](https://discuss.elastic.co/t/cannot-install-logstash-input-salesforce/197210/3 "2019-09-25T19:47:14Z")

</div>

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