From: James Britt Date: 2008-07-11T08:17:51+09:00 Subject: Re: Communication between 2 ruby programs 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