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

This should fix #501.

Akinori MUSHA 10 anni fa
parent
commit
1245a1ec9f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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...'