From 95f2995a56f581d82394524b8c8eb1398da6bc2e Mon Sep 17 00:00:00 2001 From: Marc Siegel Date: Sun, 15 Jun 2014 14:43:20 -0400 Subject: [PATCH] Remove explicit require of rspec to fix builds Not sure why this works, or is even possible? But I can reproduce locally that all non-1.8 builds fail when using a bundler cache unless this line is removed. My guess is that, when using the --path option to bundler, all gems are being implicitly required, and requiring rspec a second time is somehow causing issues, but that doesn't make much sense to me. --- spec/spec_helper.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3e93ac7..0ee7bc8 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -30,7 +30,6 @@ $LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include? lib_dir require 'docile' require 'singleton' -require 'rspec' RSpec.configure do |config| config.expect_with :rspec do |c|