Sha256: f5d2fb0f6e544f03b3affb179139150dd1fa9988182a75006f5e3ece19ac9377
Contents?: true
Size: 504 Bytes
Versions: 67
Compression:
Stored size: 504 Bytes
Contents
# encoding: utf-8 require "java" # This block is used to load Logstash's Java libraries when using a Ruby entrypoint and # LS_JARS_LOADED is not globally set. # Currently this happens when using the `bin/rspec` executable to invoke specs instead of the JUnit # wrapper. unless $LS_JARS_LOADED jar_path = File.join(File.dirname(File.dirname(__FILE__)), "jars") $:.unshift jar_path Dir.glob(jar_path + '/*.jar') do |jar| require File.basename(jar) end java_import org.logstash.RubyUtil end
Version data entries
67 entries across 67 versions & 1 rubygems