Skip to content

Commit 0e15994

Browse files
Explictly pull in the ActionCable engine if Rails version is 6 or higher
1 parent 84978b4 commit 0e15994

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example_app_generator/spec/support/default_preview_path

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ require_file_stub 'config/environment' do
2626
require "action_controller/railtie"
2727
require "action_mailer/railtie" unless ENV['NO_ACTION_MAILER']
2828
require "action_view/railtie"
29+
require "action_cable/engine" if Rails::VERSION::STRING >= '6'
2930

3031
# Require the gems listed in Gemfile, including any gems
3132
# you've limited to :test, :development, or :production.

0 commit comments

Comments
 (0)