Sha256: 12fc1645bca3dbd73f972327ee8b56f249be1c943f449c9f1437211d96b367e1
Contents?: true
Size: 343 Bytes
Versions: 114
Compression:
Stored size: 343 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 = { :multiple => true } Daemons.run(File.join(File.dirname(__FILE__), 'myserver.rb'), options)
Version data entries
114 entries across 114 versions & 13 rubygems