Sha256: f6a8a105a0621562f25a567c53a88759686f8f9fc99b2aa790179aa7f02dc218
Contents?: true
Size: 426 Bytes
Versions: 35
Compression:
Stored size: 426 Bytes
Contents
begin require 'puma' RUNNING_SERVER = 'puma' rescue LoadError => e begin require 'thin' RUNNING_SERVER = 'thin' rescue LoadError => e Volt.logger.error('Unable to find a compatible rack server, please make sure your Gemfile includes one of the following: thin or puma') end end module Volt class RackServerAdaptor def self.load Faye::WebSocket.load_adapter(RUNNING_SERVER) end end end
Version data entries
35 entries across 35 versions & 1 rubygems