Sha256: 241b617e347c99242c47e9f35d046ff0d233c4be197925ee8f1015dc34ddbfb7
Contents?: true
Size: 606 Bytes
Versions: 18
Compression:
Stored size: 606 Bytes
Contents
$: << 'lib' ENV['RACK_ENV'] = 'development' require 'rubygems' require 'bundler/setup' require 'active_support/all' require 'khronos' #controller = Khronos::Controller.new #controller.start! case ARGV[0] when 'runner' puts "Running: Runner." require 'khronos/server/runner' EventMachine.run { EventMachine.start_server Khronos::Config.instance.runner['host'], Khronos::Config.instance.runner['port'], Khronos::Server::Runner } when 'scheduler' puts "Running: Scheduler." run Khronos::Server::Scheduler when 'controller' controller = Khronos::Controller.new controller.start! end
Version data entries
18 entries across 18 versions & 1 rubygems