More details:

Im trying to use Twitter::JSONStream, which is an 
EventMachine::Connection to simultaneously watch two different twitter 
filters using the streaming API.

gem 'twitter-stream'

require 'twitter/json_stream'
EM.run do
  a = Twitter::JSONStream.connect :path => 
"/1/statuses/filter.json?track=:)", :auth => "username:password"
  b = Twitter::JSONStream.connect :path => 
"/1/statuses/filter.json?track=:(", :auth => "username:password"

  a.each_item {puts "happy" }
  b.each_item {puts "unhappy" }

end

This should be printing alternating happy and unhappy, but right now it 
only prints one of the two

This is my first time actually using EventMachine. thanks for the help.

-- 
Posted via http://www.ruby-forum.com/.