Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby Version Problem #79

Closed
buarmin opened this issue Aug 30, 2017 · 6 comments
Closed

Ruby Version Problem #79

buarmin opened this issue Aug 30, 2017 · 6 comments

Comments

@buarmin
Copy link

buarmin commented Aug 30, 2017

Dear Friends
I want to use your plugin but I get error.
ERROR: Error installing fluent-plugin-influxdb:
influxdb requires Ruby version >= 2.2.0.

I uninstalled my ruby and installed different versions from 2.0.0, 2.2.0, 2.3, 2.4
but the error still exist. would you please help me how to solve this.
Thank you.

@repeatedly
Copy link
Collaborator

repeatedly commented Aug 30, 2017

@buarmin
Copy link
Author

buarmin commented Aug 30, 2017

Thank you for reply but it does not help
root@c982d9f04bf6:/var/log/td-agent# /usr/sbin/td-agent-gem install fluent-plugin-influxdb
WARN: Unresolved specs during Gem::Specification.reset:
msgpack (< 2, >= 0.5.11)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Fetching: influxdb-0.4.0.gem (100%)
ERROR: Error installing fluent-plugin-influxdb:
influxdb requires Ruby version >= 2.2.0.

root@c982d9f04bf6:/var/log/td-agent# ruby -v
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]

@repeatedly
Copy link
Collaborator

And need to use v0.3.x in ruby 2.1: https://github.com/influxdata/influxdb-ruby/blob/master/CHANGELOG.md

Please read this sentence.

@buarmin
Copy link
Author

buarmin commented Aug 30, 2017

sorry my bad but i didn't get your clue ?

@repeatedly
Copy link
Collaborator

I release new version to avoid v0.4 installation.
Latest version should fix this problem.

@buarmin
Copy link
Author

buarmin commented Aug 30, 2017

Thank you very much "Masahiro" . I appreciate .

@buarmin buarmin closed this as completed Aug 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants