testing/gemfiles/base.gemfile
source 'https://rubygems.org'
gemspec :path => "../../"
require 'rbconfig'
if RUBY_VERSION =~ /^2\.[012]/
# Older Rubies are limited to older Cucumbers, which have bugs that aren't worth working
# around. This version should 'just work'.
gem 'cucumber', '2.2.0'
end
if (RUBY_PLATFORM == 'java') && (RbConfig::CONFIG['host_os'] =~ /mingw32|mswin32/)
# Some versions of Cucumber rely on a JRuby gem that is sometimes not included by default (jruby-win32ole). I'm
# just going to sidestep the whole issue by using a version of Cucumber that 'just works'.
gem 'cucumber', '2.2.0'
end