Sha256: bbcc64328045d665b5fffb8b08622efa144220ea7e350f3c1f3a2751d6364609
Contents?: true
Size: 447 Bytes
Versions: 3
Compression:
Stored size: 447 Bytes
Contents
# Detect the platform we're running on so we can tweak behaviour # in various places. require 'rbconfig' $CUCUMBER_JRUBY = defined?(JRUBY_VERSION) $CUCUMBER_IRONRUBY = Config::CONFIG['sitedir'] =~ /IronRuby/ $CUCUMBER_WINDOWS = Config::CONFIG['host_os'] =~ /mswin|mingw/ $CUCUMBER_WINDOWS_MRI = $CUCUMBER_WINDOWS && !$CUCUMBER_JRUBY && !$CUCUMBER_IRONRUBY if $CUCUMBER_IRONRUBY ENV['GEM_PATH'] ||= "C:/ruby/lib/ruby/gems/1.8" end
Version data entries
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
aslakhellesoy-cucumber-0.1.10 | lib/cucumber/platform.rb |
jeffrafter-cucumber-0.1.10 | lib/cucumber/platform.rb |
cucumber-0.1.10 | lib/cucumber/platform.rb |