diff --git a/lib/coverband/reporters/web.rb b/lib/coverband/reporters/web.rb index 8cb0bf92..bcf57f5a 100644 --- a/lib/coverband/reporters/web.rb +++ b/lib/coverband/reporters/web.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "coverband" + begin require "rack" rescue LoadError @@ -11,10 +13,6 @@ module Reporters class Web attr_reader :request - def initialize - init_web - end - def init_web full_path = Gem::Specification.find_by_name("coverband").full_gem_path @static = Rack::Static.new(self,