logstash-plugins/logstash-output-websocket

Gem installation fails because transitive dependencies don't support Ruby 1.9

magnusbaeck opened this issue · 1 comments

The 2.5.0 release of the addressable library made on 2016-11-04 started requiring Ruby 2.0 compatibility (via the introduction of a dependency to the public_suffix library), so an attempt to do a bundle installation for this plugin started to result in the following:

$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...........................................................................................................
public_suffix-2.0.4 requires ruby version >= 2.0, which is incompatible with the
current version, ruby 1.9.3p551 (jruby 1.7.26)

Since the ftw library that dragged in addressable hadn't locked down its dependency it, too, effectively started requiring Ruby 2.0. An attempt to fix this was made in jordansissel/ruby-ftw#34, but it was insufficient and a follow-up PR (jordansissel/ruby-ftw#35) is needed before we can step up the ftw dependency in this plugin to at least 0.0.46.

jarpy commented

Sorry to be a pain, @jordansissel, (and sorry for jordansissel/ruby-ftw#34). Do you have time to push a new build of FTW?

💚™