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