lib/hanami/commands/server.rb
# Message text when Shotgun enabled but interpreter does not support `fork`
#
# @since 0.8.0
# @api private
Message text when Shotgun enabled but interpreter does not support `fork`
Message text when Shotgun enabled but interpreter does not support ` fork `
def prepare_server!
        case @strategy
        when :rackup
          @server = Hanami::Server.new(@options)
        when :shotgun
          @server = Hanami::Server.new(@options)
          @server.app = Shotgun::Loader.new(@server.rackup_config)
        end
      end
def prepare_server! case @strategy when :rackup @server = Hanami :: Server . new ( @options ) when :shotgun @server = Hanami :: Server . new ( @options ) @server . app = Shotgun :: Loader . new ( @server . rackup_config ) end end
Message text when Shotgun enabled but interpreter does not support `fork`
Message text when Shotgun enabled but interpreter does not support ` fork `
since
None
api
None