I\'ve created开发者_如何学C eventmachine app that perform some background job. I wonder what is the best way to send data from rails app to eventmachine app.
In the course of 开发者_高级运维a request in a rails app, I would like to post data to another server and have the original request complete without having to wait for the external post to resolve.I h
I\'m trying to build a websocket server where each client establish its own redis connections used for publish and subscribe.
UPDATE: I found the simple answer and it\'s completely my own fault: I stored the above code in a file called \"eventmachine.rb\". Thus when I required \'eventmachine\' it just imported the same file
How can I use EventMachine.connect_unix_domain while running Thin as a service (using the init script (excerpt) and configuration below). The code directly below is the problem (I get an eventmachine
I would like to write an application in Ruby using Qt which will communicate ov开发者_开发问答er the network with other instances.
Is i开发者_运维百科t possible to use EventMachine calls inside Thin without extra initialization?
Does anyone know of a good way to connect to postgres inside eventmachine. I know there is an implementation bundled with eventmachine but i don\'t like the use of sockets.
Trying to run ruby on rails framework under nginx+thin, currently working under WEBrick. I don\'t have root access, cause it is hosted at web hosting service.
I searched for this issue and kept finding resources related to a PC. Every time I try to installEventMachine I get this error: