On Fri, May 27, 2011 at 10:20 AM, John Mettraux <[email protected]> wrote: > > On Fri, May 27, 2011 at 08:01:00AM +0200, Kenneth Kalmer wrote: >> >> I'll have to layer it up and see. I just looked at a current >> ruote-amqp 2.2.x project and I'm using amqp 0.7.0 with ruote-amqp, and >> amqp 0.6.7 in the remote participant and it works. I'll have a coffee >> while I think this through, maybe I can bump ruote-amqp and daemon-kit >> to use 0.8.0. >> >> I'll use the ping-pong example to test this, if it works well we just >> need to coordinate the version bump of ruote-amqp with David. I'll >> ping the daemon-kit list and the new contributors over there about the >> 0.8 rc as well. > > Hello, > > yesterday I tried to move ruote-amqp to Amqp 0.7.1 but it was generally > broken, 0.7.1 being too close to 0.8.0. > > Hartog told me Amqp 0.8.x was an excellent thing. They're reorganizing their > stuff "the right way".
OK, so I nailed it! I had to make some changes to daemon-kit which requires a new release and a version bump to 0.1.9 due to the change in the internals... I'll wrap that up separately, but here is instructions for how to get the ping pong to work again: $ git clone git://github.com/kennethkalmer/daemon-kit.git $ cd daemon-kit $ rake build $ gem install pkg/daemon-kit-0.1.8.2.gem $ gem install amqp -v 0.7.1 Then setup the ping-pong $ git clone git://github.com/kennethkalmer/ruote-amqp-ping-pong.git $ cd ruote-amqp-ping-pong $ cd ping && bundle install $ cd ../pong && bundle install $ cd ../ping-pong-engine && bundle install Then make sure you have different terminals open and proceed: (1) $ cd ping && ./bin/ping (2) $ cd pong && ./bin/pong (3) $ cd pong-pong-engine && ruby lib/main.rb As an aside, make sure your rabbitmq is configured correctly. If using brew, simple as this, if not maybe you need sudo: $ rabbitmqctl add_user ruote ruote $ rabbitmqctl add_vhost ruote $ rabbitmqctl set_permissions -p ruote ruote '.*' '.*' '.*' Feedback appreciated! Kind regards -- Kenneth Kalmer [email protected] http://opensourcery.co.za @kennethkalmer -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
