script/collect_non_twss.rb in twss-0.0.2 vs script/collect_non_twss.rb in twss-0.0.3
- old
+ new
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), '../lib/twss')
-require File.join(File.dirname(__FILE__), '../lib/twss/tweet_collector')
+require File.expand_path('../lib/twss', File.dirname(__FILE__))
+require File.expand_path('../lib/twss/tweet_collector', File.dirname(__FILE__))
TWSS::TweetCollector.new(':)', File.join(File.dirname(__FILE__), '../data/non_twss.txt')).run