fluent / fluentd-docs

This repository is deprecated. Go to fluentd-docs-gitbook repository.
49 stars 119 forks source link

FAQ: Explain how to use Oj as JSON parser on Alpine Linux #559

Closed fujimotos closed 5 years ago

fujimotos commented 5 years ago

This is indeed a "frequently asked" question, popping up several times on the support forum.

The gotcha is that Alpine Linux has a separate package 'ruby-decimal' for BigDecimal class, so we need to install the package manually in order to prevent require oj from failing with a LoadError exception.

Related: https://github.com/fluent/fluentd/issues/2136