summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-08-31 12:15:20 +0200
committerAzul <azul@riseup.net>2016-09-10 08:15:47 +0200
commitf18d698d09afda894a568de79c5770704a0c9de7 (patch)
treec7f41e9fff1345a95c781efa0ea5324ea643f0f7 /bin
parent625416ac16a1216240fc4c48aa19802ef8a967a1 (diff)
refactor: remove global require in test_helper
require all the things we depend upon where we depend upon them.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nickserver3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/nickserver b/bin/nickserver
index 93dfd53..c56cc76 100755
--- a/bin/nickserver
+++ b/bin/nickserver
@@ -17,7 +17,8 @@ def load_local_gem(dir_path='../..')
end
load_local_gem
-require 'nickserver'
+require 'nickserver/daemon'
+require 'nickserver/server'
Nickserver::Daemon.run('nickserver') do
Nickserver::Server.start