Ruby Logstash筛选器插件:安装手动创建的gem文件时出错

Ruby Logstash筛选器插件:安装手动创建的gem文件时出错,ruby,logstash,Ruby,Logstash,创建自定义日志存储插件时出错: LoadError: no such file to load -- bundler require at org/jruby/RubyKernel.java:974 require at /usr/local/Cellar/logstash-full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54 <main> at /u

创建自定义日志存储插件时出错:

LoadError: no such file to load -- bundler
  require at org/jruby/RubyKernel.java:974
  require at /usr/local/Cellar/logstash-full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
   <main> at /usr/local/Cellar/logstash-full/7.9.2/libexec/lib/pluginmanager/bundler/logstash_injector.rb:19
  require at org/jruby/RubyKernel.java:974
  require at /usr/local/Cellar/logstash-full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
   <main> at /usr/local/Cellar/logstash-full/7.9.2/libexec/lib/pluginmanager/pack_installer/local.rb:19
  require at org/jruby/RubyKernel.java:974
  require at /usr/local/Cellar/logstash-full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
   <main> at /usr/local/Cellar/logstash-full/7.9.2/libexec/lib/pluginmanager/pack_installer/remote.rb:18
  require at org/jruby/RubyKernel.java:974
  require at /usr/local/Cellar/logstash-full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
   <main> at /usr/local/Cellar/logstash-full/7.9.2/libexec/lib/pluginmanager/pack_fetch_strategy/repository.rb:21
  require at org/jruby/RubyKernel.java:974
  require at /usr/local/Cellar/logstash-full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
   <main> at /usr/local/Cellar/logstash-full/7.9.2/libexec/lib/pluginmanager/install_strategy_factory.rb:20
  require at org/jruby/RubyKernel.java:974
  require at /usr/local/Cellar/logstash-full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
   <main> at /usr/local/Cellar/logstash-full/7.9.2/libexec/lib/pluginmanager/install.rb:19
  require at org/jruby/RubyKernel.java:974
  require at /usr/local/Cellar/logstash-full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
   <main> at /usr/local/Cellar/logstash-full/7.9.2/libexec/lib/pluginmanager/main.rb:33
LoadError:没有要加载的文件--bundler
要求访问org/jruby/RubyKernel.java:974
需要at/usr/local/ceral/logstash full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core\u ext/kernel\u require.rb:54
at/usr/local/ceral/logstash full/7.9.2/libexec/lib/pluginmanager/bundler/logstash_injector.rb:19
要求访问org/jruby/RubyKernel.java:974
需要at/usr/local/ceral/logstash full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core\u ext/kernel\u require.rb:54
at/usr/local/ceral/logstash full/7.9.2/libexec/lib/pluginmanager/pack_installer/local.rb:19
要求访问org/jruby/RubyKernel.java:974
需要at/usr/local/ceral/logstash full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core\u ext/kernel\u require.rb:54
at/usr/local/ceral/logstash full/7.9.2/libexec/lib/pluginmanager/pack_installer/remote.rb:18
要求访问org/jruby/RubyKernel.java:974
需要at/usr/local/ceral/logstash full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core\u ext/kernel\u require.rb:54
在/usr/local/Cellar/logstash-full/7.9.2/libexec/lib/pluginmanager/pack\u-fetch\u-strategy/repository.rb:21
要求访问org/jruby/RubyKernel.java:974
需要at/usr/local/ceral/logstash full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core\u ext/kernel\u require.rb:54
at/usr/local/ceral/logstash full/7.9.2/libexec/lib/pluginmanager/install_strategy_factory.rb:20
要求访问org/jruby/RubyKernel.java:974
需要at/usr/local/ceral/logstash full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core\u ext/kernel\u require.rb:54
at/usr/local/ceral/logstash-full/7.9.2/libexec/lib/pluginmanager/install.rb:19
要求访问org/jruby/RubyKernel.java:974
需要at/usr/local/ceral/logstash full/7.9.2/libexec/vendor/jruby/lib/ruby/stdlib/rubygems/core\u ext/kernel\u require.rb:54
at/usr/local/ceral/logstash-full/7.9.2/libexec/lib/pluginmanager/main.rb:33
我遵循这本自述,走到了我写的那一步

logstash插件安装——无需验证

如果您需要任何进一步的信息,请告诉我