From a7d7f348ca8cd3ec8060b3a05fadae1135ae13e4 Mon Sep 17 00:00:00 2001 From: Jonathan Tripathy Date: Thu, 21 Jan 2016 14:37:15 +0000 Subject: [PATCH] Updated Gemfile to avoid BKR-537 --- Gemfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index bfe64b1..8c8f2d7 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,13 @@ def location_for(place, fake_version = nil) end group :development, :unit_tests do - gem 'rspec-core', '3.1.7', :require => false + # rspec-core 3.1.7 is the last version to support ruby 1.8 + if RUBY_VERSION < '1.9' + gem 'rspec-core', '3.1.7' + else + # newer version required to avoid BKR-537 + gem 'rspec-core', '>= 3.4' + end gem 'puppetlabs_spec_helper', :require => false gem 'simplecov', :require => false gem 'puppet_facts', :require => false -- 2.45.2