Class: LogStash::BootstrapCheck::BadRuby
- Inherits:
-
Object
- Object
- LogStash::BootstrapCheck::BadRuby
- Defined in:
- lib/logstash/bootstrap_check/bad_ruby.rb
Class Method Summary collapse
Class Method Details
.check(settings) ⇒ Object
6 7 8 9 10 |
# File 'lib/logstash/bootstrap_check/bad_ruby.rb', line 6 def self.check(settings) if RUBY_VERSION < "2.0" raise LogStash::BootstrapCheckError, "Ruby 2.0 or later is required. (You are running: " + RUBY_VERSION + ")" end end |