Sha256: af72dbf3fbe8e47f235817a8e0449c57b2933e960a127fde9f922b16b959ff38

Contents?: true

Size: 574 Bytes

Versions: 10

Compression:

Stored size: 574 Bytes

Contents

# This file is used by Rack-based servers to start the application.

$HOUSTON_PROCESS_TYPE = :websocket_server

# Load and configure Houston
require_relative "../config/main"

# Initialize the Rails application
# According to the docs (http://edgeguides.rubyonrails.org/action_cable_overview.html#standalone)
# this line should be `Rails.application.eager_load!` but that results in
# strange errors with Houston::Adaptes::VersionControl::GitAdapter.
# This might be overkill, but it works:
Rails.application.initialize!

# Run the ActionCable server
run ActionCable.server

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
houston-core-0.9.2 templates/new-instance/cable/config.ru
houston-core-0.9.1 templates/new-instance/cable/config.ru
houston-core-0.9.0 templates/new-instance/cable/config.ru
houston-core-0.9.0.rc1 templates/new-instance/cable/config.ru
houston-core-0.8.4 templates/new-instance/cable/config.ru
houston-core-0.8.3 templates/new-instance/cable/config.ru
houston-core-0.8.2 templates/new-instance/cable/config.ru
houston-core-0.8.1 templates/new-instance/cable/config.ru
houston-core-0.8.0 templates/new-instance/cable/config.ru
houston-core-0.8.0.pre2 templates/new-instance/cable/config.ru