From 52d26e3d3c6682df26eb234d22ff5ba704dea84e Mon Sep 17 00:00:00 2001 From: Darren Oakley Date: Tue, 2 Oct 2018 16:10:53 +0100 Subject: [PATCH] Remove explicit `Bundler` calls This isn't really the way you use bundler... --- lib/bandiera.rb | 1 - spec/spec_helper.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/bandiera.rb b/lib/bandiera.rb index c078708..b109058 100644 --- a/lib/bandiera.rb +++ b/lib/bandiera.rb @@ -25,7 +25,6 @@ module Bandiera class << self def init(environment) - Bundler.setup(:default, environment) Dotenv.load Db.connect end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ed86125..a30fda5 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,4 @@ ENV['RACK_ENV'] = 'test' -Bundler.setup(:default, ENV['RACK_ENV']) require 'macmillan/utils/rspec/rspec_defaults' require 'macmillan/utils/rspec/webmock_helper'