【发布时间】:2018-09-24 13:00:44
【问题描述】:
您好,我最近开始使用 fluent d,我需要安装 此 URL 中指定的 MySQL 批量插件
操作系统:centos 7
https://github.com/toyama0919/fluent-plugin-mysql-bulk 在此 url 中指定 当我运行命令 gem install fluent-plugin-mysql-bulk
得到错误为 错误:找不到有效的 gem 'fluent-plugin-mysql-bulk' (>= 0),原因如下: 无法从 https://rubygems.org/ 下载数据 - 没有这样的名称 (https://rubygems.org/latest_specs.4.8.gz)
也从 sbin 文件夹尝试过
cd /opt/td-agent/usr/sbin/ [root@hyd-cms-camaign-lsrv2 sbin]# td-agent-gem install fluent-plugin-mysql 错误:找不到有效的 gem 'fluent-plugin-mysql' (>= 0),原因如下: 无法从 https://rubygems.org/ 下载数据 - 没有这样的名称 (https://api.rubygems.org/specs.4.8.gz)
尝试使用 URl:
https://github.com/tagomoris/fluent-plugin-mysql
但还是一样的错误
执行了以下命令。 gem install fluent-plugin-mysql
找不到有效的 gem 'fluent-plugin-mysql' (>= 0),原因如下: bash:意外标记'('附近的语法错误 [root@hyd-cms-camaign-lsrv2 appuser]# 无法从https://rubygems.org/ 下载数据 - 没有这样的名称 (https://rubygems.org/latest_specs.4.8.gz)
提前感谢您的帮助
【问题讨论】: