From: Dido Sevilla Date: 2006-03-26T03:08:00+09:00 Subject: Re: does ruby have database/network support built in? On 3/26/06, brian yahn wrote: > Is there > any support for mysql in ruby? I know about ruby on rails, but I'm not > making a web aplication, so I don't think thats what I'm looking for. I > figured ruby probably had database support since ruby on rails does. > Can anyone tell me where I could find out about Ruby's database/network > support if it has any? But of course... http://www.tmtm.org/en/mysql/ruby/ However, you'll probably want to use that only indirectly, with this: http://ruby-dbi.sourceforge.net/ so that if you ever for whatever reason want to stop using MySQL, you can shift to something like Oracle, Postgresql, or whatever with little trouble. ActiveRecord, the component of Rails that provides database support, is of course available even if you aren't using Rails itself, but I personally haven't tried to use it independently of Rails myself. As for networking support, that's certainly available within Ruby's standard library. Have a look at the net/ stuff in the ruby-doc.org site for details on the API. There's a thing called Distributed Ruby that makes remote method calls over a network so simple as to be almost the same as local method calls.