Tagged Questions

EventMachine is a fast, reactor pattern library for Ruby programs. It provides non-blocking IO APIs with transparent internal buffers and standard reactor features (such as defer, next_tick and timers).
(note to future editors: Eventmachine itself does not use Fibers, and the core does not use ...

I am writing a headless Ruby application using EventMachine that communicates over sockets. I want to write some unit tests for this app. This means that my Ruby test script needs to launch that app ...

According to the documentation for EventMachine.watch_file the handler argument has to be a Module (or a class inheriting from EventMachine::FileWatch). Why is it designed this way? For me a block (or ...

I have a script which uses a gem that has eventmachine which listens for an API call (it's the slack-api gem).
On my dev environment, I just run bundle exec ruby ruby_slack.rb and the console shows ...

I am trying to use the YAJL ruby bindings to subscribe to the changes feed of a couchdb database. The change is posted to a rabbitMQ queue from which it is consumed. However i can only read one change ...

I have an event-machine based app that I want to run as a daemon, so I can easily start stop it.
I'm attempting to use the daemons gem, however it appears to just skip over the EM runloop and dies at ...

I chose Ruby for a side project some time ago, and used Thin as my primary server. At the time EventMachine and "evented web-server" didn't mean much to me so I ignored it.
Recently I've come back to ...

I'm wanting to use Grape, Goliath and ActiveRecord to build a non-blocking API in Ruby. The problem I'm running into is there seems to be nothing happening on the EM/Postgres async front. Any activity ...

Install OpenSSL with Ruby for eventmachine on Windows 7 x86.
I want to install eventmachine gem on Windows 7 x86 SP1.
I have installed rubyinstaller-2.1.5.exe from http://rubyinstaller.org/downloads/
...

When I try and run the server with EventMachine::run I keep getting the error saying that the port is in use. This started ever since I ran the server in the background with the command nohup.
I am ...

https://docs.google.com/presentation/d/1DzGiTWQSgPNgA8aVTDcE3Up56xT1AQwbEUDzO6-d2BY/edit#slide=id.g564cda687_00
I currently build up a web service in rails integrated with TCP client feature in the ...