From: Bryan Richardson Date: 2007-12-21T08:46:01+09:00 Subject: Re: Invalid Data Source Name ------=_Part_7692_11965636.1198194361619 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for responding. Actually, I'm an idiot and wasn't passing "DB:PG:" along with the name of my database. You are correct in that the problem was in my " section of the code. Sorry for the useless post!!! -- BTR On Dec 20, 2007 3:09 PM, Adam Shelly wrote: > On 12/20/07, Bryan Richardson wrote: > > Hello, > > > > Does anyone know what causes the "Invalid Data Source Name" exception? > I > > get this from OptionParser. Here's my code: > > > > opts = OptionParser.new > > opts.on('--load-file FILE') do |file| > > > > end > > > > my guess is that the exception is coming from your mysterious something with file>, since I can't recreate the behavior no matter > what filename I pass, even an invalid one. > > ------=_Part_7692_11965636.1198194361619--