Sha256: 0ef6b7c4d98ac01da9a286e7f63bddc9d1d6b9b10b018f1bc222fab9efbe34f1

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

command  = File.basename($0)
bin_path = File.expand_path("../../../bin/spring_sa", __FILE__)

if command == "spring_sa"
  load bin_path
else
  disable = ENV["DISABLE_SPRING"]

  if Process.respond_to?(:fork) && (disable.nil? || disable.empty? || disable == "0")
    ARGV.unshift(command)
    load bin_path
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spring_standalone-0.1.13 lib/spring_standalone/binstub.rb