Sha256: 0a2c1dbceedc2a8097063384cdd081913571737b9df806cfe28428c6acb62cf3

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

# encoding: utf-8
require "logstash/errors"

module LogStash module BootstrapCheck
  class BadRuby
    def self.check(settings)
      if RUBY_VERSION < "1.9.2"
        raise LogStash::BootstrapCheckError, "Ruby 1.9.2 or later is required. (You are running: " + RUBY_VERSION + ")"
      end
    end
  end
end end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
logstash-core-6.0.0.alpha2-java lib/logstash/bootstrap_check/bad_ruby.rb
logstash-core-6.0.0.alpha1-java lib/logstash/bootstrap_check/bad_ruby.rb