Fix to find fleunt-gem command path

This commit is contained in:
uu59 2014-09-27 19:15:36 +09:00
parent 8d5529897f
commit b3cda88269

View File

@ -151,6 +151,7 @@ class Plugin
/opt/td-agent/embedded/bin/fluent-gem
/usr/lib/fluent/ruby/bin/fluent-gem
/usr/lib64/fluent/ruby/bin/fluent-gem
fluent-gem
).find do |path|
system("which #{path}", out: File::NULL, err: File::NULL)
end