Skip to content

Installation on td-agent 1.7 fails due to ruby version dependency of jsonpath 1.0.6 #67

@manikantannaren

Description

@manikantannaren

Starting November 18th Jsonpath released version 1.0.6 which defines Ruby version dependency as >=2.5 and td-agent 1.7 is on Ruby 2.4 because of this installation of the plugin fails.

09:24:31 [91mERROR:  Error installing fluent-plugin-mysql:
09:24:31     jsonpath requires Ruby version >= 2.5.
09:24:31 [0m"td-agent-gem install fluent-plugin-mysql -v 0.3.4" command filed with exit code 1.

Environment:
Centos 7
td-agent-1.7.0
Embedded Ruby 2.4.0

fluent-plugin-mysql defines jsonpath as a runtime dependency but does not constrain the version of jsonpath.

Workaround
Install jsonpath 1.0.5 first

  1. td-agent-gem install jsonpath -v 1.0.5
  2. td-agent-gem install fluent-plugin-mysql -v 0.3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions