lib/cucumber/platform.rb in cucumber-8.0.0 vs lib/cucumber/platform.rb in cucumber-9.0.0

- old
+ new

@@ -5,10 +5,10 @@ require 'rbconfig' require 'cucumber/core/platform' module Cucumber unless defined?(Cucumber::VERSION) - VERSION = File.read(File.expand_path('version', __dir__)).strip + VERSION = File.read(File.expand_path('../../VERSION', __dir__)).strip BINARY = File.expand_path("#{File.dirname(__FILE__)}/../../bin/cucumber") LIBDIR = File.expand_path("#{File.dirname(__FILE__)}/../../lib") RAILS = defined?(Rails) RUBY_BINARY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) RUBY = defined? RUBY_VERSION