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

Version Path
rockdog-passenger-0.0.1 test/stub/spawn_server.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/passenger-2.2.15/test/stub/spawn_server.rb
passenger-2.2.15 test/stub/spawn_server.rb
passenger-2.2.14 test/stub/spawn_server.rb
passenger-2.2.13 test/stub/spawn_server.rb
passenger-2.2.12 test/stub/spawn_server.rb
colouringcode-passenger-0.2 test/stub/spawn_server.rb
passenger-2.2.11 test/stub/spawn_server.rb
passenger-jmazzi-2.2.10 test/stub/spawn_server.rb
passenger-2.2.10 test/stub/spawn_server.rb
passenger-jmazzi-2.2.9 test/stub/spawn_server.rb
passenger-2.2.9 test/stub/spawn_server.rb
passenger-2.2.8 test/stub/spawn_server.rb
colouringcode-passenger-0.1 test/stub/spawn_server.rb
passenger-2.2.7 test/stub/spawn_server.rb
passenger-2.2.6 test/stub/spawn_server.rb
passenger-2.2.5 test/stub/spawn_server.rb
passenger-2.2.3 test/stub/spawn_server.rb
passenger-2.2.4 test/stub/spawn_server.rb
passenger-2.1.2 test/stub/spawn_server.rb