Skip to content

Commit

Permalink
Require bridgetown when booting from Rack
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushn21 committed Nov 27, 2024
1 parent 7f48f7e commit f9fcb78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bridgetown-core/lib/bridgetown-core/rack/boot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
require "zeitwerk"
require "roda"
require "json"

Bridgetown::Current.preloaded_configuration ||= Bridgetown.configuration
require "bridgetown"

require_relative "logger"
require_relative "routes"

module Bridgetown
module Rack
Bridgetown::Current.preloaded_configuration ||= Bridgetown.configuration

class << self
# @return [Bridgetown::Utils::LoadersManager]
attr_accessor :loaders_manager
Expand Down

0 comments on commit f9fcb78

Please sign in to comment.