Class: CapistranoMulticonfigParallel::WebServer

Inherits:
CelluloidPubsub::WebServer
  • Object
show all
Includes:
ApplicationHelper
Defined in:
lib/capistrano_multiconfig_parallel/celluloid/web_server.rb

Overview

class used to start the web server for websockets

Instance Method Summary collapse

Methods included from ApplicationHelper

parse_task_string, strip_characters_from_string

Methods included from StagesHelper

check_stage_path, checks_paths, fetch_stages, fetch_stages_paths, stages_paths

Methods included from CoreHelper

app_configuration, app_debug_enabled?, app_logger, ask_confirm, check_terminal_tty, debug_websocket?, execute_with_rescue, find_config_type, find_loaded_gem, find_worker_log, force_confirmation, format_error, log_error, log_to_file, rescue_error, rescue_interrupt, show_warning, websocket_config, websocket_server_config

Methods included from InternalHelper

config_file, custom_commands, default_internal_config, detect_root, enable_main_log_file, find_env_multi_cap_root, internal_config_directory, internal_config_file, log_directory, main_log_file, root, try_detect_capfile

Constructor Details

#initialize(*args) ⇒ WebServer

Returns a new instance of WebServer.



6
7
8
9
10
11
# File 'lib/capistrano_multiconfig_parallel/celluloid/web_server.rb', line 6

def initialize(*args)
  super(*args)
rescue => exc
  log_error(exc)
  # fails silently
end