Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Unbreak on Linux. #41

merged 1 commit into from Sep 25, 2011


None yet
2 participants

bernd commented Sep 25, 2011

I'm getting the following exception under Linux.

/home/bernd/.rvm/gems/ruby-1.9.3-head/bundler/gems/tweetstream e414317ab775/lib/tweetstream/client.rb:307:in `kqueue=': kqueue is not supported on this platform (EventMachine::Unsupported)

EM.kqueue= can only be used on a system that actually supports kqueue. Calling EM.kqueue is just fine since it's a no-op on operating systems without kqueue support.


stve commented Sep 25, 2011

I wasn't 100% sure if I had the syntax right. EM's documentation didn't make it clear but it makes sense that it would work like epoll. Thanks for the PR.

@stve stve added a commit that referenced this pull request Sep 25, 2011

@stve stve Merge pull request #41 from bernd/patch-1
Unbreak on Linux.

@stve stve merged commit 9d8cd7a into tweetstream:master Sep 25, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment