ruby - 运行 docker-compose up -d 但我冲突 ruby 版本的错误
问题描述
我在这里从书籍安装存储库是存储库 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
解决方案
推荐阅读
- r - ggplot中带有圆圈而不是瓷砖的热图
- java - 如何将 TXT 文件写入“/storage/emulated/0/myapp/myfile.txt”,以便稍后从文件浏览器打开它们?
- python - 为指数分布创建对数似然函数?
- go - GoTa 系列显示 NaN,但调试器显示值
- amazon-cloudformation - 如何生成 YAML 格式的 Canformation 模板?
- php - 在 PHP 中使用接口有什么好处,它的真正用途在哪里?
- microservices - 理想的速率限制行为
- android - AdMob 广告检查器无法在 Android 10 设备上启动
- android - Android自动备份不适用于三星手机
- android - 在 API 级别 30 之后,您的应用程序中还能以某种方式使用 toast 吗?