Possible Duplicate:
How can I collect real-time tweets?
I want to collect random tweets via Streaming API using RuBY and store them in MongoDB. So I've tried to use this code Dakatsuka code but it's not working. I'm getting this one protocol.rb:135:in 'sysread' (Errno:ECONNRESET) What does it means? I'll appreciate your any help!!!
Try using tweetstream gem which uses event-machine . Its pretty simple to use.