lib/spider-gazelle/spider.rb
def ready
            load_promise = load_applications
            load_promise.then do
                # Check a shutdown request didn't occur as we were loading
                if @running
                    @logger.verbose "All gazelles running"

                    # This happends on the master thread so we don't need to check
                    # for the shutdown events here
                    @loaded = true
                    bind_application_ports unless @delay_port_binding
                else
                    @logger.warn "A shutdown event occured while loading"
                    perform_shutdown
                end
            end

            # Provide applications with a load complete callback
            @load_complete.resolve(load_promise)
        end
def ready
            load_promise = load_applications
            load_promise.then do
                # Check a shutdown request didn't occur as we were loading
                if @running
                    @logger.verbose "All gazelles running"

                    # This happends on the master thread so we don't need to check
                    # for the shutdown events here
                    @loaded = true
                    bind_application_ports unless @delay_port_binding
                else
                    @logger.warn "A shutdown event occured while loading"
                    perform_shutdown
                end
            end

            # Provide applications with a load complete callback
            @load_complete.resolve(load_promise)
        end
Load gazelles and make the required bindings