From: Jeremy H. <je...@ch...> - 2006-04-12 07:19:33
|
On Sun, Apr 09, 2006 at 08:43:04AM -0700, Kurien Mathew wrote: > I have been trying to run the ruby-fltk samples after having > installed Cygwin and also compiling and installing ruby-fltk-0.9.2. > > Executing "ruby demo.rb" or "ruby samples7.rb" in the Cygwin bash > shell produce nothing. The shell prompt appears after a couple of > seconds. rubyfltk.so and ruby-fltk scripts are well installed under > cygwin/lib/ruby/1.8. I also tried the ruby options -d and -w. But > that did not provide additional information. The scripts dont seem > to continue beyond 'require "rubyfltk.so"'. Unfortunately I don't have a Windows system to test on, so all I can do is suggest things for you to try. Are these the only scripts in the samples/test directories that hang in this way? (Note, I think in some cases the scripts are best run from the directory above with the command 'ruby samples/demo.rb' or 'ruby samples/sample7.rb' etc.) When I run 'ruby samples/sample7.rb' it writes something like '#<FTLK::Scroll::0xb66577c>' to the output. Do you see that, or does it not even get that far? Do simple pure Ruby scripts like 'puts "hello"' work? Otherwise I suggest the standard stuff: add puts statements in the script at various points and see which ones produce output. Jeremy |