Load huginn_scheduler first before each thread starts to auto-load files.

This should fix #501.

Akinori MUSHA преди 10 години
родител
ревизия
1245a1ec9f
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      bin/threaded.rb

+ 1 - 0
bin/threaded.rb

@@ -1,4 +1,5 @@
1 1
 require 'thread'
2
+require 'huginn_scheduler'
2 3
 
3 4
 def stop
4 5
   puts 'Exiting...'