Skip to content

Commit 4dcb31c

Browse files
committed
Fix Rails 7.1 compatibility by ensuring active_support is required before railtie
Not sure if this is us, strictly speaking but we seem to need to require active_support before the railties or the issue at rails/rails#49495 (comment) occurs
1 parent f52da2e commit 4dcb31c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/main/ruby/jruby/rack/rails/railtie.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# See the file LICENSE.txt for details.
77
#++
88

9+
require 'active_support'
910
require 'rails/railtie'
1011
require 'pathname'
1112

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#--
2+
# Copyright (c) 2010-2012 Engine Yard, Inc.
3+
# Copyright (c) 2007-2009 Sun Microsystems, Inc.
4+
# This source code is available under the MIT license.
5+
# See the file LICENSE.txt for details.
6+
#++
7+
8+
module ActiveSupport
9+
end

0 commit comments

Comments
 (0)