Sha256: 61678b059b3aa0b16213202d0a76bf8600cd4d538fb5c8b07ba0b0b2a322b134
Contents?: true
Size: 726 Bytes
Versions: 77
Compression:
Stored size: 726 Bytes
Contents
# Detect the platform we're running on so we can tweak behaviour # in various places. require 'rbconfig' require 'yaml' module Cucumber LANGUAGE_FILE = File.expand_path(File.dirname(__FILE__) + '/languages.yml') LANGUAGES = YAML.load_file(LANGUAGE_FILE) BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber') JRUBY = defined?(JRUBY_VERSION) IRONRUBY = Config::CONFIG['sitedir'] =~ /IronRuby/ WINDOWS = Config::CONFIG['host_os'] =~ /mswin|mingw/ WINDOWS_MRI = WINDOWS && !JRUBY && !IRONRUBY RAILS = defined?(Rails) RUBY_BINARY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']) RUBY_1_9 = RUBY_VERSION =~ /^1\.9/ end
Version data entries
77 entries across 77 versions & 5 rubygems