Sha256: aaa3fd454b3b2be7d6a82e34e19d701373b7df4adae4d7a0ca6480ef1d8401b6
Contents?: true
Size: 495 Bytes
Versions: 24
Compression:
Stored size: 495 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH << "#{File.dirname(__FILE__)}/../../lib" $LOAD_PATH << "#{File.dirname(__FILE__)}/../../ext" require 'phusion_passenger/spawn_manager' include PhusionPassenger class SpawnManager def handle_spawn_application(*options) client.write('ok') client.write(1234, "/tmp/nonexistant.socket", false) client.send_io(STDERR) end end DEFAULT_INPUT_FD = 3 manager = SpawnManager.new input = IO.new(DEFAULT_INPUT_FD) manager.start_synchronously(input) manager.cleanup
Version data entries
24 entries across 24 versions & 5 rubygems