elastic / logstash-devutils

An assortment of tooling/libraries to make Logstash core and plugin development and releasing a bit easier.
Apache License 2.0
17 stars 29 forks source link

2.1 Has Invalid Dependencies #93

Open dbcfd opened 3 years ago

dbcfd commented 3 years ago

Using jruby -S bundle install with logstash-devutils at 2.1


Bundler could not find compatible versions for gem "logstash-core":
  In Gemfile:
    logstash-devutils (~> 2.1) was resolved to 2.1.0, which depends on
      logstash-codec-plain was resolved to 1.0.0, which depends on
        logstash-core (>= 1.4.0, < 2.0.0)

    logstash-devutils (~> 2.1) was resolved to 2.1.0, which depends on
      logstash-core (>= 6.3)```

Downgrading to `2.0` installs correctly.
apple-corps commented 2 years ago

I think what I've learned is that logstash uses it's own bundler to install dependencies. Then from the logstash source tree there are binaries provided. If you try to use the jruby bundler it will fail. Jruby did not previously include bundler. I might be able to help you if you need additional suggestions.