From ed586e788cc64509e6cbc30cc1c1d4708f41b73e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20G=C3=BCnnewig?= Date: Wed, 12 Jul 2017 22:47:34 +0200 Subject: [PATCH] Use old version of license_finder The gem uses the new "Safe Navigation Operator" which was introduced in C-Ruby 2.3. This make the build fail: https://travis-ci.org/cucumber/aruba/jobs/252903532. --- Gemfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 89974ee42..ea0c3d1f6 100644 --- a/Gemfile +++ b/Gemfile @@ -58,7 +58,11 @@ group :development, :test do # gem 'cucumber-pro', '~> 0.0' # License compliance - gem 'license_finder', '~> 3.0' + if RUBY_VERSION < '2.3' + gem 'license_finder', '~> 2.0' + else + gem 'license_finder', '~> 3.0' + end # Upload documentation # gem 'relish', '~> 0.7.1'