From: Julien Genestoux Date: 2008-07-11T08:22:43+09:00 Subject: Re: Communication between 2 ruby programs Hum, Both applications are on the same machine, so I am not sure I need to go over the network with XML RPC, I would lose a lot performance wise, don't you think? Initially, I tried with Pipes, but I could not find my way with this... Thanks for your help, anyway. Anyone else? James Britt wrote: > Julien Genestoux wrote: >> Hi! >> >> I am having a hard time solving this issue and I'm sure you guys know >> how to treat that very easily! >> >> I've got a "bot" on one side which runs : >> > ... > >> >> And on the other side, I've got a Rails application. I want to "plug" >> the bot to this rails application, in such a way that the inputs are >> coming from the Rails application, and not from STDIN. >> > > > Have you considered using xml-rpc? Ruby includes a library for that. > > It has its pros and cons, but overall it may be good enough. > > -- > James Britt > > www.happycamperstudios.com - Wicked Cool Coding > www.jamesbritt.com - Playing with Better Toys > www.ruby-doc.org - Ruby Help & Documentation > www.rubystuff.com - The Ruby Store for Ruby Stuff -- Posted via http://www.ruby-forum.com/.