From 0491e79c4e5f16d38cf87e53290394e1eccfa2e9 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 30 Jun 2016 11:23:45 +0200 Subject: Trying to replace EM base server with reel some tests are still broken. But at least they are running now. --- bin/nickserver | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/nickserver b/bin/nickserver index f3795bf..8cf0738 100755 --- a/bin/nickserver +++ b/bin/nickserver @@ -20,7 +20,5 @@ load_local_gem require 'nickserver' Nickserver::Daemon.run('nickserver') do - EventMachine.run do - Nickserver::Server.start - end -end \ No newline at end of file + Nickserver::Server.start +end -- cgit v1.2.3 From 6732fef4df156a02ed83f006f19f66cf567b5340 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 4 Jul 2016 10:49:10 +0200 Subject: fix start / stop script I have to admit I don't completely understand what is going on here. https://github.com/celluloid/celluloid/wiki/Frequently-Asked-Questions says you can either use sleep after initiating the actors or call run on them. But this might not be true for reel. At least run did not work and now new; sleep seems to work fine. --- bin/nickserver | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/nickserver b/bin/nickserver index 8cf0738..93dfd53 100755 --- a/bin/nickserver +++ b/bin/nickserver @@ -21,4 +21,5 @@ require 'nickserver' Nickserver::Daemon.run('nickserver') do Nickserver::Server.start + sleep end -- cgit v1.2.3