Sha256: 64272bfd08c253e6d458851e500e55455992b36ed525ec84414e8de46bf207c4

Contents?: true

Size: 393 Bytes

Versions: 8

Compression:

Stored size: 393 Bytes

Contents

#!/usr/bin/env ruby

dir = File.dirname(__FILE__)
$LOAD_PATH.unshift("#{dir}/../lib")
require "screw_unit"
require "thin"

unless ENV["SCREW_UNIT_SPEC_ROOT"]
  ENV["SCREW_UNIT_SPEC_ROOT"] = ARGV[0]
end

unless ENV["SCREW_UNIT_PUBLIC"]
  ENV["SCREW_UNIT_PUBLIC"] = ARGV[1]
end

Thin::Runner.new([
  "--port", "8080",
  "--rackup", File.expand_path("#{dir}/../standalone.ru"),
  "start"]
).run!

Version data entries

8 entries across 8 versions & 4 rubygems

Version Path
pivotal-screw-unit-0.5.0 bin/screw_unit_server
pivotal-screw-unit-0.5.1 bin/screw_unit_server
pivotal-screw-unit-0.5.2 bin/screw_unit_server
pivotal-screw-unit-0.5.3 bin/screw_unit_server
pivotal-screw-unit-server-0.5.3 bin/screw_unit_server
screw-unit-0.5.1 bin/screw_unit_server
screw-unit-0.5.2 bin/screw_unit_server
screw-unit-server-0.5.3 bin/screw_unit_server