From: "M. Edward (Ed) Borasky" Date: 2006-09-22T22:51:19+09:00 Subject: Re: Looking for reference for Ruby/Tk and Ruby/MySQL Patrick Lynch wrote: > Patrick Lynch wrote: >> Good evening, >> >> I need to create an app that will use Ruby/TK and Ruby/MySql. >> It will be a standalone pc app... >> >> I'm going thru the "Pickaxe" book...and it contains a chapter on Tk - >> but I'm looking for a good reference that covers Ruby and Tk in greater >> detail. I'll be doing a lot of mathematical curve drawing [ie, plotting >> some statistical functions]. >> >> The "Pickaxe" doesn't cover databases...I'm particularly interested in >> using MySQL with Ruby. >> >> I prefer textbooks... >> >> Will someone make a recommendation. >> >> THX, >> Pat > > I'm ok now with Tcl/Tk... > However, I'm still baffled by connecting Rudy to MySql... > I tried downloading Gem but couldn't get past the question requesting > what I wanted to install...the list contained about 30 items...each > numbered...I replied with a 2 but it was rejected... > > It looks like DBI is another way to go... > > I'd appreicate any advice. > > Thanks, > Pat > > Some of the gems have two versions -- a source version for those folks like me who run a Gnu/Linux platform, and a pre-compiled Windows version. And if the gem has multiple version numbers, there will be two choices for each of those. So in general: 1. If you're on Windows, pick the "mswin" version, otherwise, pick the source version. 2. Unless you have reasons to use an older version, pick the most recent one. 3. If you did *that* and "got rejected", file a bug report with the package maintainer.