Problem installing ruby gem active_support

Hi all,

Some specs:

Logstash 7.13.1
Ruby 2.5.0

I'd like to use some active_support functionality in my ruby filters that I list in my logstash config files. I'm having a problem however with my system finding the gem. Currently, I see that the gem has been installed, because I find it in /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/activesupport-

However, I don't see the Gem listed in the /usr/share/logstash/Gemfile, nor in the Gemfile.lock file associated with my logstash exe.

I'm not sure if this is the reason I get the following error when running a logstash configuration that utilizes a ruby filter that requires active_support:

LoadError: no such file to load -- active_support/all

all is a .rb script within the above named active_support folder.

If anyone has any experience with this, I would greatly appreciate it!


After adding the gem to the Gemfile, there are no complaints from logstash! I guess Logstash uses this Gemfile as a reference first for what it needs to have ready for filtering.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.