# Older Rubies on Windows cannot securely connect to RubyGems anymore (https://github.com/rubygems/rubygems/issues/2330) if (RbConfig::CONFIG['host_os'] =~ /mswin|msys|mingw32/) && (RUBY_VERSION =~ /^1\./) source 'http://rubygems.org' else source 'https://rubygems.org' end gemspec :path => "../../" # The version of Rake being tested gem 'rake', '~> 11.0' if RUBY_VERSION =~ /^1\./ gem 'cucumber', '< 2.0.0' gem 'cuke_modeler', '< 3.0' # The 'cuke_modeler' gem requires Ruby 2.x on/after this version gem 'ffi', '< 1.9.15' # The 'ffi' gem requires Ruby 2.x on/after this version gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version gem 'mime-types', '< 3.0.0' # The 'mime-types' gem requires Ruby 2.x on/after this version gem 'rainbow', '< 3.0' # The 'rainbow' gem requires Ruby 2.x on/after this version gem 'rest-client', '< 2.0' # The 'rainbow' gem requires Ruby 2.x on/after this version gem 'simplecov-html', '< 0.11.0' # The 'simplecov-html' gem requires Ruby 2.x on/after this version gem 'term-ansicolor', '< 1.4' # The 'term-ansicolor' gem requires Ruby 2.x on/after this version gem 'unf_ext', '< 0.0.7.3' # The 'unf_ext' gem requires Ruby 2.x on/after this version gem 'thor', '< 1.0' # The 'thor' gem requires Ruby 2.x on/after this version else # Have to use this version of Cucumber in order to avoid namespace problems introduced by the `cucumber-gherkin` gem gem 'cucumber', '2.2.0' end