запустить docker -составить -d, но я конфликтую с ошибкой ruby версии - PullRequest
0 голосов
/ 08 апреля 2020

Я установил репозиторий из книг, вот URL репозитория

git clone https://github.com/efkbook/blog-sample

и я конфликтую версию ruby, как я могу решить эту проблему?

docker-compose up -d

сообщение об ошибке:

Step 5/7 : RUN /usr/sbin/td-agent-gem install fluent-plugin-elasticsearch fluent-plugin-record-reformer
 ---> Running in 6f05fb399ffe
Building native extensions.  This could take a while...
Successfully installed msgpack-1.3.3
Successfully installed serverengine-2.2.1
Building native extensions.  This could take a while...
ERROR:  Error installing fluent-plugin-elasticsearch:
    fluentd requires Ruby version >= 2.4.
Successfully installed strptime-0.2.3
Successfully installed fluent-plugin-record-reformer-0.9.1
Parsing documentation for fluent-plugin-record-reformer-0.9.1
Installing ri documentation for fluent-plugin-record-reformer-0.9.1
Done installing documentation for fluent-plugin-record-reformer after 0 seconds
1 gem installed
ERROR: Service 'fluentd' failed to build: The command '/bin/sh -c /usr/sbin/td-agent-gem install fluent-plugin-elasticsearch fluent-plugin-record-reformer' returned a non-zero code: 1
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...