Sha256: 57daecb660d2978acf31df0e58c55818437c34089aa74135f77ffe4fa6c08b45

Contents?: true

Size: 366 Bytes

Versions: 124

Compression:

Stored size: 366 Bytes

Contents

# This is myserver.rb, an example server that is to be controlled by daemons
# and that does nothing really useful at the moment.
#
# Don't run this script by yourself, it can be controlled by the ctrl*.rb scripts.

loop do
  puts 'ping from myserver.rb!'
  puts 'this example server will crash in 3 seconds...'
  
  sleep(3)
  
  puts 'CRASH!'
  raise 'CRASH!'
end

Version data entries

124 entries across 124 versions & 12 rubygems

Version Path
ghazel-daemons-1.0.13 examples/run/myserver_crashing.rb
ghazel-daemons-1.0.12 examples/run/myserver_crashing.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
mwotton-daemons-1.0.11 examples/run/myserver_crashing.rb
ghazel-daemons-1.0.11 examples/run/myserver_crashing.rb
ginst-2009.12.8 vendor/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
ginst-2009.11.24 vendor/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
ginst-2009.11.23 vendor/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
middleman-0.10.17 vendor/gems/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
middleman-0.10.16 vendor/gems/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
middleman-0.10.15 vendor/gems/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
middleman-0.10.14 vendor/gems/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
ginst-2.0.1 vendor/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
ginst-2.0.0 vendor/gems/daemons-1.0.10/examples/run/myserver_crashing.rb
poolparty-1.3.15 vendor/gems/daemons/examples/run/myserver_crashing.rb
poolparty-1.3.14 vendor/gems/daemons/examples/run/myserver_crashing.rb
poolparty-1.3.13 vendor/gems/daemons/examples/run/myserver_crashing.rb
poolparty-1.3.8 vendor/gems/daemons/examples/run/myserver_crashing.rb