# Detect the platform we're running and warn if it is not supported module Gherkin unless defined?(Gherkin::VERSION) # See the comment in gherkin.gemspec if you bump the MINOR version (MAJOR.MINOR.PATCH). VERSION = '2.12.2' JRUBY = defined?(JRUBY_VERSION) if !JRUBY && !(RUBY_VERSION =~ /^(1\.9\.3|2\.0)/) warn("WARNING: Unsupported Ruby version - #{RUBY_VERSION}") end end end