Closed brettdh closed 8 years ago
This is not an issue of fluent-plugin-influxdb.
influxdb
gem uses cause
gem in ruby 2.0 or earlier.
This is why this error happens.
It seems like an issue with the version of the influxdb
gem that fluent-plugin-influxdb specifies - basically the plugin inherits the issue by the version of the gem it depends on.
Thought you might want to restrict the max version so that this issue doesn't happen, and then maybe bump the minimum version if it gets fixed later.
Or, if I'm just using an unsupported version of ruby (this is in a Dockerfile based on ubuntu 14.04), feel free to close.
Well, this means to install the plugin anyone should need Ruby 2+. By default, Ubuntu 14.04 ships with 1.9, so this could be an issue for many users. Also, Precise is still supported until 2017 and is also impacted. Xenial ships with 2.3 so that's ok.
I think this would be worth having a decision documented.
Ruby 1.9 is EOL so it should not be used in production. Using Docker, we can easy to setup any ruby version.
BTW, I will update README for cause
gem issue.
I don't think everyone wants to use Docker either, even if the approach is more than valid.
I think this should have rather a documentation tag mentioning it should use Ruby 2.0 (for the sake of people not having that in the main repos, eventually with a snippet of code to deploy Ruby 2.x easily.
On Wed, May 25, 2016 at 4:19 PM, Masahiro Nakagawa <notifications@github.com
wrote:
Ruby 1.9 is EOL so it should not be used in production. Using Docker, we can easy to setup any ruby version.
BTW, I will update README for cause gem issue.
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/fangli/fluent-plugin-influxdb/issues/51#issuecomment-221591024
SaM'n'Co R'U Ready? I was BORN ready!
My temporary workaround is to
before
That may not be the exact version where the issue was introduced, but it works.
Here's a log from a start->finish run with the failure: