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