aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/server/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action_cable/server/base.rb')
-rw-r--r--lib/action_cable/server/base.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/action_cable/server/base.rb b/lib/action_cable/server/base.rb
index 9315a48f20..f1585dc776 100644
--- a/lib/action_cable/server/base.rb
+++ b/lib/action_cable/server/base.rb
@@ -1,3 +1,5 @@
+require 'em-hiredis'
+
module ActionCable
module Server
# A singleton ActionCable::Server instance is available via ActionCable.server. It's used by the rack process that starts the cable server, but
@@ -66,5 +68,7 @@ module ActionCable
config.connection_class.identifiers
end
end
+
+ ActiveSupport.run_load_hooks(:action_cable, Base.config)
end
end