From 1461b7b642cc7db897a7418c4ddc63164f0efa87 Mon Sep 17 00:00:00 2001 From: Sorah Fukumori Date: Sun, 20 Feb 2022 17:42:31 +0900 Subject: [PATCH] Workaround error when requiring ActiveSupport partially https://github.com/rails/rails/issues/43851 --- lib/kaminari/helpers/sinatra_helpers.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/kaminari/helpers/sinatra_helpers.rb b/lib/kaminari/helpers/sinatra_helpers.rb index 845a801..0aa37c7 100644 --- a/lib/kaminari/helpers/sinatra_helpers.rb +++ b/lib/kaminari/helpers/sinatra_helpers.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true +require 'active_support/isolated_execution_state' # https://github.com/rails/rails/issues/43851 require 'active_support/core_ext/object' require 'active_support/core_ext/string' require 'padrino-helpers'