Sha256: 21bcaeb0676567664503f48ff2771a27ea2f27351054e9b2f142799977da2e36
Contents?: true
Size: 375 Bytes
Versions: 15
Compression:
Stored size: 375 Bytes
Contents
lib_dir = File.expand_path(File.join(File.dirname(__FILE__), '../../lib')) if File.exist?(File.join(lib_dir, 'daemons.rb')) $LOAD_PATH.unshift lib_dir else begin; require 'rubygems'; rescue ::Exception; end end require 'daemons' options = { :log_output => true, :backtrace => true } Daemons.run(File.join(File.dirname(__FILE__), 'myserver_crashing.rb'), options)
Version data entries
15 entries across 13 versions & 4 rubygems