Skip to content

Commit 8dcb4e4

Browse files
committed
workaround rambulance load timming issue
1 parent e20dbd6 commit 8dcb4e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/application.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
require "rails/all"
44

5+
# FIXME: The process of requiring the exceptions_app from rambulance is being loaded at an unexpected timing? So we're requiring it manually.
6+
# Problematic code section: https://github.com/yuki24/rambulance/blob/v3.0.0/lib/rambulance/railtie.rb#L5
7+
# Ref :https://github.com/yuki24/rambulance/issues/67#issuecomment-1945292833
8+
require 'rambulance/exceptions_app'
9+
510
# Require the gems listed in Gemfile, including any gems
611
# you've limited to :test, :development, or :production.
712
Bundler.require(*Rails.groups)

0 commit comments

Comments
 (0)