From: Curt Hibbs Date: 2005-12-24T16:13:41+09:00 Subject: Re: [ANN] Instant Rails 1.0 preview7 -- with Typo! See the first entry in the FAQ: http://instantrails.rubyforge.org/wiki/wiki.pl?FAQ I think this same problem is happenning with the cookbook app. Arrrrggg... I gotta get a new release out with this fixed. Curt PS Glad you like Instant Rails! On 12/23/05, Clifford Heath wrote: > Curt, > > My thanks for putting IR together. After the "fun" I had > trying to get it working on Debian last year, I was torn > about recommending Rails to my son. He's now installed IRp7 > and it's fantastic to have a bundle with Apache, MySQL, RoR, > etc all pre-configured. I'm writing this for him as he's just > moved house and has no connectivity yet. So thanks! > > Unfortunately he's still having a few problems with it. I had > a little play with his install last night and couldn't figure > out how to diagnose them. > > The mycookbook app creates its console window, and if you de- > iconify it quickly enough, you get a glimpse of a "not found" > error with a Ruby backtrace before the window vanishes. Is > there any logfile or global exception catcher that saves the > error text? Impossible to diagnose the problem when it vanishes! > > He mentioned that you haven't worked out how to create an > invisible console window. I don't know if that's a Ruby problem, > but at the Windows API level, you have to use the "ShowWindow" > option in the STARTUPINFO structure that you pass as the ninth > parameter to CreateProcess. Set wShowWindow to SW_HIDE and set > dwFlags to include STARTF_USESHOWWINDOW, and the command window > won't display. > > However, I do recommend that for debugging purposes, you allow > the window to be optionally displayed - and preferably to catch > an exception and allow it to be read before the window closes! > > Happy Saturnalia, everyone! > > Clifford Heath. > >