cd ~
git clone --branch 8.0 --single-branch https://github.com/elastic/logstash.git
cd logstash
./gradlew assemble
cd ~
wget https://github.com/apache/rocketmq-externals/archive/refs/heads/master.zip
cp -ra rocketmq-externals/rocketmq-logstash-integration/rocketmq-logstash-input ./
cd rocketmq-logstash-input/
echo 'LOGSTASH_CORE_PATH=/xxx/logstash/logstash-core' >> gradle.properties
./gradlew gem
cd logstash
bin/logstash-plugin install --no-verify --local /xxx/rocketmq-logstash-input/logstash-input-rocketmq-1.0.0.gem
What did you expect to see?
Plug-in installed successfully
What did you see instead?
# Plug-in installation error:
Using system java: /xxx/jdk-11.0.2/bin/java
Unable to find JRuby.
If you are a user, this is a bug.
If you are a developer, please run 'rake bootstrap'. Running 'rake' requires the 'ruby' program be available.
Please tell us about your environment:
jdk version:
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
The issue tracker is ONLY used for bug report and feature request.
Any question or RocketMQ proposal please use our mailing lists.
BUG REPORT
Please tell us about your environment:
jdk version:
openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
OS Version: PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
kernel version: Linux xx-hostname 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):