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...'