Sha256: 48d4743b71a298efa2b9a8b107924db7362f66476c42601c6dde2088f0ef64ad

Contents?: true

Size: 279 Bytes

Versions: 3

Compression:

Stored size: 279 Bytes

Contents

lib_dir = File.expand_path(File.join(File.dirname(__FILE__), '../../lib'))

if File.exists?(File.join(lib_dir, 'daemons.rb'))
  $LOAD_PATH.unshift lib_dir
else
  require 'rubygems' rescue nil
end

require 'daemons'


Daemons.run(File.join(File.dirname(__FILE__), 'myserver.rb'))

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
daemons-1.0.4 examples/run/ctrl_normal.rb
daemons-1.0.2 examples/run/ctrl_normal.rb
daemons-1.0.3 examples/run/ctrl_normal.rb