1
0
Fork 0
mirror of https://github.com/ms-ati/docile synced 2023-03-27 23:21:52 -04:00

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.
This commit is contained in:
Marc Siegel 2014-06-15 14:43:20 -04:00
parent 3aef43ac32
commit 95f2995a56

View file

@ -30,7 +30,6 @@ $LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include? lib_dir
require 'docile' require 'docile'
require 'singleton' require 'singleton'
require 'rspec'
RSpec.configure do |config| RSpec.configure do |config|
config.expect_with :rspec do |c| config.expect_with :rspec do |c|