requiring twitter_stream in threaded worker fixes ArgumentError

The threaded worker threw 'A copy of TwitterStream has been removed from
the module tree but is still active!' when running in development,
explicitly requiring 'twitter_stream' fixes that exception.

Dominik Sander 10 年之前
父節點
當前提交
582db44791
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      bin/threaded.rb

+ 1 - 0
bin/threaded.rb

@@ -1,5 +1,6 @@
1 1
 require 'thread'
2 2
 require 'huginn_scheduler'
3
+require 'twitter_stream'
3 4
 
4 5
 STDOUT.sync = true
5 6
 STDERR.sync = true