Sha256: cdbb6062704faf1bc303d5940e1465b7c3e43fefa8e23eeb530c5042adf01574

Contents?: true

Size: 244 Bytes

Versions: 2

Compression:

Stored size: 244 Bytes

Contents

require "spring/application"

app = Spring::Application.new(
  UNIXSocket.for_fd(3),
  Spring::JSON.load(ENV.delete("SPRING_ORIGINAL_ENV").dup)
)
Signal.trap("TERM") { app.terminate }

app.preload if ENV.delete("SPRING_PRELOAD") == "1"
app.run

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spring-1.1.0.beta3 lib/spring/application/boot.rb
spring-1.1.0.beta2 lib/spring/application/boot.rb