I''m trying to get ready to teach a Ruby class later this summer, and I was hoping to use FreeRIDE. It looks nice, it just doesn''t work at all. On my office machine, if I enter a program such as: puts "Hello" and try to run it, I get: >ruby C:\Ruby\hello.rb >exit On my computer at home I somehow managed to get output from one program, but not from another. In the process of moving files, uninstalling and reinstalling FreeRIDE, I apparently broke something, and now when I open FreeRIDE it opens for a fraction of a second and immediately quits. Probably I screwed up the registry or something (I''m a programmer, not a sysadmin). Unless some sainted person is willing to give me explicit instructions on how to recover, I''ll have to count FreeRIDE as forever dead on that machine. BTW, the Eclipse RDT plugin works great; but not all of my students will know Eclipse. Thanks for any help anyone can give me. And apologies if I''m posting in the wrong place (I''m a Ruby newbie....) --Dave Matuszek matuszek at cis.upenn.edu
I''m assuming you''re running the one-click installer, and the FreeRIDE it contains. Open a command window and navigate to to ruby\freeride and then type " run.bat". Now, if there are any error messages, they won''t disappear a fraction of a second later. You can also try deleting the saved FreeRIDE preference files by deleting the directory %USERPROFILE%\freeride (it will be automatically recreated the next time you run FreeRIDE). Curt On 6/1/06, Dave Matuszek <matuszek at cis.upenn.edu> wrote:> > I''m trying to get ready to teach a Ruby class later this > summer, and I was hoping to use FreeRIDE. It looks nice, > it just doesn''t work at all. > > On my office machine, if I enter a program such as: > puts "Hello" > and try to run it, I get: > >ruby C:\Ruby\hello.rb > >exit > > On my computer at home I somehow managed to get output from > one program, but not from another. In the process of moving > files, uninstalling and reinstalling FreeRIDE, I apparently > broke something, and now when I open FreeRIDE it opens for > a fraction of a second and immediately quits. Probably I > screwed up the registry or something (I''m a programmer, not > a sysadmin). Unless some sainted person is willing to give me > explicit instructions on how to recover, I''ll have to count > FreeRIDE as forever dead on that machine. > > BTW, the Eclipse RDT plugin works great; but not all of my > students will know Eclipse. > > Thanks for any help anyone can give me. And apologies if I''m > posting in the wrong place (I''m a Ruby newbie....) > > --Dave Matuszek > matuszek at cis.upenn.edu > _______________________________________________ > Freeride-users mailing list > Freeride-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/freeride-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/freeride-users/attachments/20060601/a785643c/attachment.htm
Hi Curt. Thanks for the very prompt reply; I wish I could try it out right away, but I''m currently at work (where FreeRIDE appears to work, I just never get any output). Nevertheless, I tried running directly from run.bat--as expected, FreeRIDE works as before (runs, no output). Not sure what you meant by "%USERPROFILE%\freeride". I did find a directory "Matuszek/freeride", but deleting (actually, renaming) that caused FreeRIDE to ask for a Ruby interpreter. I found one (the one used by Eclipse; everything I download includes yet another Ruby interpreter), but FreeRIDE didn''t like that one, so I reverted to the old directory. Sorry to be such a nuisance, but I hope you''ll continue to help me with this. --Dave Curt Hibbs wrote:> I''m assuming you''re running the one-click installer, and the FreeRIDE it > contains. > > Open a command window and navigate to to ruby\freeride and then type > "run.bat". Now, if there are any error messages, they won''t disappear a > fraction of a second later. > > You can also try deleting the saved FreeRIDE preference files by > deleting the directory %USERPROFILE%\freeride (it will be automatically > recreated the next time you run FreeRIDE). > > Curt > > On 6/1/06, *Dave Matuszek* <matuszek at cis.upenn.edu > <mailto:matuszek at cis.upenn.edu>> wrote: > > I''m trying to get ready to teach a Ruby class later this > summer, and I was hoping to use FreeRIDE. It looks nice, > it just doesn''t work at all. > > On my office machine, if I enter a program such as: > puts "Hello" > and try to run it, I get: > >ruby C:\Ruby\hello.rb > >exit > > On my computer at home I somehow managed to get output from > one program, but not from another. In the process of moving > files, uninstalling and reinstalling FreeRIDE, I apparently > broke something, and now when I open FreeRIDE it opens for > a fraction of a second and immediately quits. Probably I > screwed up the registry or something (I''m a programmer, not > a sysadmin). Unless some sainted person is willing to give me > explicit instructions on how to recover, I''ll have to count > FreeRIDE as forever dead on that machine. > > BTW, the Eclipse RDT plugin works great; but not all of my > students will know Eclipse. > > Thanks for any help anyone can give me. And apologies if I''m > posting in the wrong place (I''m a Ruby newbie....) > > --Dave Matuszek > matuszek at cis.upenn.edu <mailto:matuszek at cis.upenn.edu> > _______________________________________________ > Freeride-users mailing list > Freeride-users at rubyforge.org <mailto:Freeride-users at rubyforge.org> > http://rubyforge.org/mailman/listinfo/freeride-users > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Freeride-users mailing list > Freeride-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/freeride-users
Hi Jonathan, Trying your suggestion, I first get: >ruby C:\Ruby\hello.rb *** WARNING *** Windows users should check the "Run process in terminal" check box in the Debugger Preferences to see STDOUT and STDERR output in real time. >exit but still no output. Checking the indicated check box makes this message go away, and when I run my program puts "Hello" now a DOS window flashes on the screen. I think that window also has no output in it; at any rate, changing my program to read puts "Hello" for i in 1..1000000 puts i end makes no visible difference. (Also adding a ''gets'' in the program has no visible effect.) I now think the program just isn''t being run, because adding a few zeros to the above doesn''t slow anything down. Maybe I''m not using the IDE correctly? I have the edit tab open to this program, and I choose Run -> Run, or I hit F5. Is there something special I should do to "bless" this file? In all cases, I just get the DOS flash. I know FreeRIDE is _finding_ Ruby, because its irb works fine. Thanks, Dave Jonathan Maasland wrote:> Hi Dave, > > Do I understand correctly that you''ve managed to get FreeRIDE itself > working, but when you execute a script you can''t see the output it > should produce? If that''s the case then I might a have solution. > > Attached to this email are two files: fox_debugger_configurator.rb and > script_runner.rb, copy these file to respectively: > plugins\rubyide_tools_fox_debugger and > plugins\rubyide_tools_fox_script_runner. Be sure to rename the old > files, just in case it fails to work. When executing a script you should > see the output in a DOS-box, granted that you''ve checked the "Run in > terminal" preference. > > If, on your other machine, you can''t get FreeRIDE itself to work it > usually is a problem with an old configuration file as Curt pointed out. > > I hope this helps, please let me/us know in either case. > > With kind regards > Jonathan > > Dave Matuszek wrote: > >>Hi Curt. Thanks for the very prompt reply; I wish I could try >>it out right away, but I''m currently at work (where FreeRIDE >>appears to work, I just never get any output). >> >>Nevertheless, I tried running directly from run.bat--as expected, >>FreeRIDE works as before (runs, no output). >> >>Not sure what you meant by "%USERPROFILE%\freeride". I did find >>a directory "Matuszek/freeride", but deleting (actually, renaming) >>that caused FreeRIDE to ask for a Ruby interpreter. I found one >>(the one used by Eclipse; everything I download includes yet another >>Ruby interpreter), but FreeRIDE didn''t like that one, so I reverted >>to the old directory. >> >>Sorry to be such a nuisance, but I hope you''ll continue to help >>me with this. >> >>--Dave >> >> >>Curt Hibbs wrote: >> >> >>>I''m assuming you''re running the one-click installer, and the FreeRIDE it >>>contains. >>> >>>Open a command window and navigate to to ruby\freeride and then type >>>"run.bat". Now, if there are any error messages, they won''t disappear a >>>fraction of a second later. >>> >>>You can also try deleting the saved FreeRIDE preference files by >>>deleting the directory %USERPROFILE%\freeride (it will be automatically >>>recreated the next time you run FreeRIDE). >>> >>>Curt >>> >>>On 6/1/06, *Dave Matuszek* <matuszek at cis.upenn.edu >>><mailto:matuszek at cis.upenn.edu>> wrote: >>> >>> I''m trying to get ready to teach a Ruby class later this >>> summer, and I was hoping to use FreeRIDE. It looks nice, >>> it just doesn''t work at all. >>> >>> On my office machine, if I enter a program such as: >>> puts "Hello" >>> and try to run it, I get: >>> >ruby C:\Ruby\hello.rb >>> >exit >>> >>> On my computer at home I somehow managed to get output from >>> one program, but not from another. In the process of moving >>> files, uninstalling and reinstalling FreeRIDE, I apparently >>> broke something, and now when I open FreeRIDE it opens for >>> a fraction of a second and immediately quits. Probably I >>> screwed up the registry or something (I''m a programmer, not >>> a sysadmin). Unless some sainted person is willing to give me >>> explicit instructions on how to recover, I''ll have to count >>> FreeRIDE as forever dead on that machine. >>> >>> BTW, the Eclipse RDT plugin works great; but not all of my >>> students will know Eclipse. >>> >>> Thanks for any help anyone can give me. And apologies if I''m >>> posting in the wrong place (I''m a Ruby newbie....) >>> >>> --Dave Matuszek >>> matuszek at cis.upenn.edu <mailto:matuszek at cis.upenn.edu> >>> _______________________________________________ >>> Freeride-users mailing list >>> Freeride-users at rubyforge.org <mailto:Freeride-users at rubyforge.org> >>> http://rubyforge.org/mailman/listinfo/freeride-users >>> >>> >>> >>>------------------------------------------------------------------------ >>> >>>_______________________________________________ >>>Freeride-users mailing list >>>Freeride-users at rubyforge.org >>>http://rubyforge.org/mailman/listinfo/freeride-users >>> >>> >>_______________________________________________ >>Freeride-users mailing list >>Freeride-users at rubyforge.org >>http://rubyforge.org/mailman/listinfo/freeride-users >> >> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Freeride-users mailing list > Freeride-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/freeride-users
On 6/1/06, Dave Matuszek <matuszek at cis.upenn.edu> wrote:> > Hi Curt. Thanks for the very prompt reply; I wish I could try > it out right away, but I''m currently at work (where FreeRIDE > appears to work, I just never get any output). > > Nevertheless, I tried running directly from run.bat--as expected, > FreeRIDE works as before (runs, no output).I was talking about this for the case where you said you had the dos-box momentarily appear on screen and then quickly disappear and FreeRIDE never starts up. Not sure what you meant by "%USERPROFILE%\freeride". I did find> a directory "Matuszek/freeride", but deleting (actually, renaming) > that caused FreeRIDE to ask for a Ruby interpreter. I found one > (the one used by Eclipse; everything I download includes yet another > Ruby interpreter), but FreeRIDE didn''t like that one, so I reverted > to the old directory.Assuming you are running Windows 2000 or Windows XP, Windows will have created a "home" folder for you, and the path to that home folder is contained in the environment variable USERPROFILE. FreeRIDE will have create a subdirectory off of this called "freeride". If you open a command window, you should be able to run these two commands:> cd %USERPROFILE% > dirand then see the contents of your home directory. Just delete freeride subdirectory. Curt Sorry to be such a nuisance, but I hope you''ll continue to help> me with this. > > --Dave > > > Curt Hibbs wrote: > > I''m assuming you''re running the one-click installer, and the FreeRIDE it > > contains. > > > > Open a command window and navigate to to ruby\freeride and then type > > "run.bat". Now, if there are any error messages, they won''t disappear a > > fraction of a second later. > > > > You can also try deleting the saved FreeRIDE preference files by > > deleting the directory %USERPROFILE%\freeride (it will be automatically > > recreated the next time you run FreeRIDE). > > > > Curt > > > > On 6/1/06, *Dave Matuszek* <matuszek at cis.upenn.edu > > <mailto:matuszek at cis.upenn.edu>> wrote: > > > > I''m trying to get ready to teach a Ruby class later this > > summer, and I was hoping to use FreeRIDE. It looks nice, > > it just doesn''t work at all. > > > > On my office machine, if I enter a program such as: > > puts "Hello" > > and try to run it, I get: > > >ruby C:\Ruby\hello.rb > > >exit > > > > On my computer at home I somehow managed to get output from > > one program, but not from another. In the process of moving > > files, uninstalling and reinstalling FreeRIDE, I apparently > > broke something, and now when I open FreeRIDE it opens for > > a fraction of a second and immediately quits. Probably I > > screwed up the registry or something (I''m a programmer, not > > a sysadmin). Unless some sainted person is willing to give me > > explicit instructions on how to recover, I''ll have to count > > FreeRIDE as forever dead on that machine. > > > > BTW, the Eclipse RDT plugin works great; but not all of my > > students will know Eclipse. > > > > Thanks for any help anyone can give me. And apologies if I''m > > posting in the wrong place (I''m a Ruby newbie....) > > > > --Dave Matuszek > > matuszek at cis.upenn.edu <mailto:matuszek at cis.upenn.edu> > > _______________________________________________ > > Freeride-users mailing list > > Freeride-users at rubyforge.org <mailto:Freeride-users at rubyforge.org> > > http://rubyforge.org/mailman/listinfo/freeride-users > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Freeride-users mailing list > > Freeride-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/freeride-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/freeride-users/attachments/20060601/82adcc99/attachment.htm
Hi Dave, Do I understand correctly that you''ve managed to get FreeRIDE itself working, but when you execute a script you can''t see the output it should produce? If that''s the case then I might a have solution. Attached to this email are two files: fox_debugger_configurator.rb and script_runner.rb, copy these file to respectively: plugins\rubyide_tools_fox_debugger and plugins\rubyide_tools_fox_script_runner. Be sure to rename the old files, just in case it fails to work. When executing a script you should see the output in a DOS-box, granted that you''ve checked the "Run in terminal" preference. If, on your other machine, you can''t get FreeRIDE itself to work it usually is a problem with an old configuration file as Curt pointed out. I hope this helps, please let me/us know in either case. With kind regards Jonathan Dave Matuszek wrote:>Hi Curt. Thanks for the very prompt reply; I wish I could try >it out right away, but I''m currently at work (where FreeRIDE >appears to work, I just never get any output). > >Nevertheless, I tried running directly from run.bat--as expected, >FreeRIDE works as before (runs, no output). > >Not sure what you meant by "%USERPROFILE%\freeride". I did find >a directory "Matuszek/freeride", but deleting (actually, renaming) >that caused FreeRIDE to ask for a Ruby interpreter. I found one >(the one used by Eclipse; everything I download includes yet another >Ruby interpreter), but FreeRIDE didn''t like that one, so I reverted >to the old directory. > >Sorry to be such a nuisance, but I hope you''ll continue to help >me with this. > >--Dave > > >Curt Hibbs wrote: > > >>I''m assuming you''re running the one-click installer, and the FreeRIDE it >>contains. >> >>Open a command window and navigate to to ruby\freeride and then type >>"run.bat". Now, if there are any error messages, they won''t disappear a >>fraction of a second later. >> >>You can also try deleting the saved FreeRIDE preference files by >>deleting the directory %USERPROFILE%\freeride (it will be automatically >>recreated the next time you run FreeRIDE). >> >>Curt >> >>On 6/1/06, *Dave Matuszek* <matuszek at cis.upenn.edu >><mailto:matuszek at cis.upenn.edu>> wrote: >> >> I''m trying to get ready to teach a Ruby class later this >> summer, and I was hoping to use FreeRIDE. It looks nice, >> it just doesn''t work at all. >> >> On my office machine, if I enter a program such as: >> puts "Hello" >> and try to run it, I get: >> >ruby C:\Ruby\hello.rb >> >exit >> >> On my computer at home I somehow managed to get output from >> one program, but not from another. In the process of moving >> files, uninstalling and reinstalling FreeRIDE, I apparently >> broke something, and now when I open FreeRIDE it opens for >> a fraction of a second and immediately quits. Probably I >> screwed up the registry or something (I''m a programmer, not >> a sysadmin). Unless some sainted person is willing to give me >> explicit instructions on how to recover, I''ll have to count >> FreeRIDE as forever dead on that machine. >> >> BTW, the Eclipse RDT plugin works great; but not all of my >> students will know Eclipse. >> >> Thanks for any help anyone can give me. And apologies if I''m >> posting in the wrong place (I''m a Ruby newbie....) >> >> --Dave Matuszek >> matuszek at cis.upenn.edu <mailto:matuszek at cis.upenn.edu> >> _______________________________________________ >> Freeride-users mailing list >> Freeride-users at rubyforge.org <mailto:Freeride-users at rubyforge.org> >> http://rubyforge.org/mailman/listinfo/freeride-users >> >> >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>Freeride-users mailing list >>Freeride-users at rubyforge.org >>http://rubyforge.org/mailman/listinfo/freeride-users >> >> >_______________________________________________ >Freeride-users mailing list >Freeride-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/freeride-users > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/freeride-users/attachments/20060601/ad7edf0b/attachment-0001.htm -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: script_runner.rb Url: http://rubyforge.org/pipermail/freeride-users/attachments/20060601/ad7edf0b/attachment-0002.bat -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: fox_debugger_configurator.rb Url: http://rubyforge.org/pipermail/freeride-users/attachments/20060601/ad7edf0b/attachment-0003.bat
Hi Jonathan, I added ''puts command'' just before the ''command'' return value. Here''s the result (sorry about the wrap). C:\Programming\FreeRIDE>freeruby-win\bin\ruby.exe -rubygems freeride.rb start CMD /C C:\Programming\InstantRails\ruby\bin/rubyw.exe -C "C:/WorkspaceRuby " -r "C:/Programming/FreeRIDE/plugins/rubyide_tools_fox_script_runner/script_sta rter_with_pause.rb" "C:\WorkspaceRuby\what.rb" I sure don''t see anything in the log file that looks like an error report. --Dave 2006-06-01 17:01:07 :: [INFO] --- FreeRIDE Started on Thu Jun 01 17:01:06 Eastern Standard Time 2006 2006-06-01 17:01:07 :: [INFO] Plugin(rubyide_gui-outputpane): OutputPane plugin started 2006-06-01 17:01:07 :: [INFO] Plugin(rubyide_fox_gui-appframe): AppFrame started 2006-06-01 17:01:07 :: [INFO] Plugin(rubyide_fox_gui-appframe): Dockbar UI components positioned OK! 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-statusbar): Status Bar 1 started 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-toolbar): ToolBar 1 started 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): iconpath : C:/Programming/FreeRIDE/plugins/rubyide_fox_gui/icons/editor.png 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): iconpath : C:/Programming/FreeRIDE/plugins/rubyide_fox_gui/icons/fonts.png 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-menubar): MenuBar 1 started 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockbar): DockBar south started 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockbar): DockBar south created 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockbar): DockBar west started 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockbar): DockBar west created 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): DockPane Renderer for /system/ui/components/DockPane/Output View/ created 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-outputpane): OutputPane Renderer plugin started 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): Reparenting /system/ui/components/DockPane/Output View/ to /system/ui/components/DockBar/south 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): DockPane Renderer for /system/ui/components/DockPane/File View/ created 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): Reparenting /system/ui/components/DockPane/File View/ to /system/ui/components/DockBar/west 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_tools_fox_file_browser): FileBrowser plugin is running 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): DockPane Renderer for /system/ui/components/DockPane/Source View/ created 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): Reparenting /system/ui/components/DockPane/Source View/ to /system/ui/components/DockBar/west 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_tools_fox_source_browser): SourceBrowser plugin started 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): DockPane Renderer for /system/ui/components/DockPane/Project Explorer/ created 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): Reparenting /system/ui/components/DockPane/Project Explorer/ to /system/ui/components/DockBar/west 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_tools_fox_project_explorer): ProjectExplorer is running 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_project): Opening project files 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): Setting All Editpane properties 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): EditPane created 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): iconpath : C:/Programming/FreeRIDE/plugins/rubyide_fox_gui/icons/modified.png 2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_tools_fox_project_explorer): Adding project JustTesting to project-explorer 2006-06-01 17:01:09 :: [INFO] Plugin(rubyide_tools_fox_project_explorer): ProjectExplorer started succesfully Jonathan Maasland wrote:> Dave, > > I''m sorry the proposed solution didn''t work. Looking at the code right > now I haven''t a clue where it might go amiss. Could you tell me which > specific version of Ruby you are using? (ruby -v) > Are you running Windows XP or 98/ME? > > If you have the time could you add a "puts command" to > plugins/rubyide_tools_fox_script_runner/script_runner.rb on line 235, at > the end of the construct_run_command and tell me what it reads? > > Also you could look at %USERPROFILE%/freeride/config/freeride.log to see > if it mentions something odd. > > Thanks very much for the feedback thusfar. > > Kind regards, > Jonathan > > Dave Matuszek wrote: > >>Hi Jonathan, >> >>Trying your suggestion, I first get: >> >> >ruby C:\Ruby\hello.rb >> *** WARNING *** Windows users should check the "Run process in >> terminal" check box in the Debugger Preferences >> to see STDOUT and STDERR output in real time. >> >exit >> >>but still no output. Checking the indicated check box makes this >>message go away, and when I run my program >> >> puts "Hello" >> >>now a DOS window flashes on the screen. I think that window also has >>no output in it; at any rate, changing my program to read >> >> puts "Hello" >> for i in 1..1000000 >> puts i >> end >> >>makes no visible difference. (Also adding a ''gets'' in the program >>has no visible effect.) >> >>I now think the program just isn''t being run, because adding a few >>zeros to the above doesn''t slow anything down. Maybe I''m not using >>the IDE correctly? I have the edit tab open to this program, and >>I choose Run -> Run, or I hit F5. Is there something special I should >>do to "bless" this file? In all cases, I just get the DOS flash. >>I know FreeRIDE is _finding_ Ruby, because its irb works fine. >> >>Thanks, >> Dave >> >> >>Jonathan Maasland wrote: >> >> >>>Hi Dave, >>> >>>Do I understand correctly that you''ve managed to get FreeRIDE itself >>>working, but when you execute a script you can''t see the output it >>>should produce? If that''s the case then I might a have solution. >>> >>>Attached to this email are two files: fox_debugger_configurator.rb and >>>script_runner.rb, copy these file to respectively: >>>plugins\rubyide_tools_fox_debugger and >>>plugins\rubyide_tools_fox_script_runner. Be sure to rename the old >>>files, just in case it fails to work. When executing a script you should >>>see the output in a DOS-box, granted that you''ve checked the "Run in >>>terminal" preference. >>> >>>If, on your other machine, you can''t get FreeRIDE itself to work it >>>usually is a problem with an old configuration file as Curt pointed out. >>> >>>I hope this helps, please let me/us know in either case. >>> >>>With kind regards >>>Jonathan >>> >>>Dave Matuszek wrote: >>> >>> >>> >>>>Hi Curt. Thanks for the very prompt reply; I wish I could try >>>>it out right away, but I''m currently at work (where FreeRIDE >>>>appears to work, I just never get any output). >>>> >>>>Nevertheless, I tried running directly from run.bat--as expected, >>>>FreeRIDE works as before (runs, no output). >>>> >>>>Not sure what you meant by "%USERPROFILE%\freeride". I did find >>>>a directory "Matuszek/freeride", but deleting (actually, renaming) >>>>that caused FreeRIDE to ask for a Ruby interpreter. I found one >>>>(the one used by Eclipse; everything I download includes yet another >>>>Ruby interpreter), but FreeRIDE didn''t like that one, so I reverted >>>>to the old directory. >>>> >>>>Sorry to be such a nuisance, but I hope you''ll continue to help >>>>me with this. >>>> >>>>--Dave >>>> >>>> >>>>Curt Hibbs wrote: >>>> >>>> >>>> >>>> >>>>>I''m assuming you''re running the one-click installer, and the FreeRIDE it >>>>>contains. >>>>> >>>>>Open a command window and navigate to to ruby\freeride and then type >>>>>"run.bat". Now, if there are any error messages, they won''t disappear a >>>>>fraction of a second later. >>>>> >>>>>You can also try deleting the saved FreeRIDE preference files by >>>>>deleting the directory %USERPROFILE%\freeride (it will be automatically >>>>>recreated the next time you run FreeRIDE). >>>>> >>>>>Curt >>>>> >>>>>On 6/1/06, *Dave Matuszek* <matuszek at cis.upenn.edu >>>>><mailto:matuszek at cis.upenn.edu>> wrote: >>>>> >>>>> I''m trying to get ready to teach a Ruby class later this >>>>> summer, and I was hoping to use FreeRIDE. It looks nice, >>>>> it just doesn''t work at all. >>>>> >>>>> On my office machine, if I enter a program such as: >>>>> puts "Hello" >>>>> and try to run it, I get: >>>>> >ruby C:\Ruby\hello.rb >>>>> >exit >>>>> >>>>> On my computer at home I somehow managed to get output from >>>>> one program, but not from another. In the process of moving >>>>> files, uninstalling and reinstalling FreeRIDE, I apparently >>>>> broke something, and now when I open FreeRIDE it opens for >>>>> a fraction of a second and immediately quits. Probably I >>>>> screwed up the registry or something (I''m a programmer, not >>>>> a sysadmin). Unless some sainted person is willing to give me >>>>> explicit instructions on how to recover, I''ll have to count >>>>> FreeRIDE as forever dead on that machine. >>>>> >>>>> BTW, the Eclipse RDT plugin works great; but not all of my >>>>> students will know Eclipse. >>>>> >>>>> Thanks for any help anyone can give me. And apologies if I''m >>>>> posting in the wrong place (I''m a Ruby newbie....) >>>>> >>>>> --Dave Matuszek >>>>> matuszek at cis.upenn.edu <mailto:matuszek at cis.upenn.edu> >>>>> _______________________________________________ >>>>> Freeride-users mailing list >>>>> Freeride-users at rubyforge.org <mailto:Freeride-users at rubyforge.org> >>>>> http://rubyforge.org/mailman/listinfo/freeride-users >>>>> >>>>> >>>>> >>>>>------------------------------------------------------------------------ >>>>> >>>>>_______________________________________________ >>>>>Freeride-users mailing list >>>>>Freeride-users at rubyforge.org >>>>>http://rubyforge.org/mailman/listinfo/freeride-users >>>>> >>>>> >>>>> >>>>> >>>>_______________________________________________ >>>>Freeride-users mailing list >>>>Freeride-users at rubyforge.org >>>>http://rubyforge.org/mailman/listinfo/freeride-users >>>> >>>> >>>> >>>> >>>> >>>> >>>------------------------------------------------------------------------ >>> >>>_______________________________________________ >>>Freeride-users mailing list >>>Freeride-users at rubyforge.org >>>http://rubyforge.org/mailman/listinfo/freeride-users >>> >>> >>_______________________________________________ >>Freeride-users mailing list >>Freeride-users at rubyforge.org >>http://rubyforge.org/mailman/listinfo/freeride-users >> >> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Freeride-users mailing list > Freeride-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/freeride-users
Dave, I''m sorry the proposed solution didn''t work. Looking at the code right now I haven''t a clue where it might go amiss. Could you tell me which specific version of Ruby you are using? (ruby -v) Are you running Windows XP or 98/ME? If you have the time could you add a "puts command" to plugins/rubyide_tools_fox_script_runner/script_runner.rb on line 235, at the end of the construct_run_command and tell me what it reads? Also you could look at %USERPROFILE%/freeride/config/freeride.log to see if it mentions something odd. Thanks very much for the feedback thusfar. Kind regards, Jonathan Dave Matuszek wrote:>Hi Jonathan, > >Trying your suggestion, I first get: > > >ruby C:\Ruby\hello.rb > *** WARNING *** Windows users should check the "Run process in > terminal" check box in the Debugger Preferences > to see STDOUT and STDERR output in real time. > >exit > >but still no output. Checking the indicated check box makes this >message go away, and when I run my program > > puts "Hello" > >now a DOS window flashes on the screen. I think that window also has >no output in it; at any rate, changing my program to read > > puts "Hello" > for i in 1..1000000 > puts i > end > >makes no visible difference. (Also adding a ''gets'' in the program >has no visible effect.) > >I now think the program just isn''t being run, because adding a few >zeros to the above doesn''t slow anything down. Maybe I''m not using >the IDE correctly? I have the edit tab open to this program, and >I choose Run -> Run, or I hit F5. Is there something special I should >do to "bless" this file? In all cases, I just get the DOS flash. >I know FreeRIDE is _finding_ Ruby, because its irb works fine. > >Thanks, > Dave > > >Jonathan Maasland wrote: > > >>Hi Dave, >> >>Do I understand correctly that you''ve managed to get FreeRIDE itself >>working, but when you execute a script you can''t see the output it >>should produce? If that''s the case then I might a have solution. >> >>Attached to this email are two files: fox_debugger_configurator.rb and >>script_runner.rb, copy these file to respectively: >>plugins\rubyide_tools_fox_debugger and >>plugins\rubyide_tools_fox_script_runner. Be sure to rename the old >>files, just in case it fails to work. When executing a script you should >>see the output in a DOS-box, granted that you''ve checked the "Run in >>terminal" preference. >> >>If, on your other machine, you can''t get FreeRIDE itself to work it >>usually is a problem with an old configuration file as Curt pointed out. >> >>I hope this helps, please let me/us know in either case. >> >>With kind regards >>Jonathan >> >>Dave Matuszek wrote: >> >> >> >>>Hi Curt. Thanks for the very prompt reply; I wish I could try >>>it out right away, but I''m currently at work (where FreeRIDE >>>appears to work, I just never get any output). >>> >>>Nevertheless, I tried running directly from run.bat--as expected, >>>FreeRIDE works as before (runs, no output). >>> >>>Not sure what you meant by "%USERPROFILE%\freeride". I did find >>>a directory "Matuszek/freeride", but deleting (actually, renaming) >>>that caused FreeRIDE to ask for a Ruby interpreter. I found one >>>(the one used by Eclipse; everything I download includes yet another >>>Ruby interpreter), but FreeRIDE didn''t like that one, so I reverted >>>to the old directory. >>> >>>Sorry to be such a nuisance, but I hope you''ll continue to help >>>me with this. >>> >>>--Dave >>> >>> >>>Curt Hibbs wrote: >>> >>> >>> >>> >>>>I''m assuming you''re running the one-click installer, and the FreeRIDE it >>>>contains. >>>> >>>>Open a command window and navigate to to ruby\freeride and then type >>>>"run.bat". Now, if there are any error messages, they won''t disappear a >>>>fraction of a second later. >>>> >>>>You can also try deleting the saved FreeRIDE preference files by >>>>deleting the directory %USERPROFILE%\freeride (it will be automatically >>>>recreated the next time you run FreeRIDE). >>>> >>>>Curt >>>> >>>>On 6/1/06, *Dave Matuszek* <matuszek at cis.upenn.edu >>>><mailto:matuszek at cis.upenn.edu>> wrote: >>>> >>>> I''m trying to get ready to teach a Ruby class later this >>>> summer, and I was hoping to use FreeRIDE. It looks nice, >>>> it just doesn''t work at all. >>>> >>>> On my office machine, if I enter a program such as: >>>> puts "Hello" >>>> and try to run it, I get: >>>> >ruby C:\Ruby\hello.rb >>>> >exit >>>> >>>> On my computer at home I somehow managed to get output from >>>> one program, but not from another. In the process of moving >>>> files, uninstalling and reinstalling FreeRIDE, I apparently >>>> broke something, and now when I open FreeRIDE it opens for >>>> a fraction of a second and immediately quits. Probably I >>>> screwed up the registry or something (I''m a programmer, not >>>> a sysadmin). Unless some sainted person is willing to give me >>>> explicit instructions on how to recover, I''ll have to count >>>> FreeRIDE as forever dead on that machine. >>>> >>>> BTW, the Eclipse RDT plugin works great; but not all of my >>>> students will know Eclipse. >>>> >>>> Thanks for any help anyone can give me. And apologies if I''m >>>> posting in the wrong place (I''m a Ruby newbie....) >>>> >>>> --Dave Matuszek >>>> matuszek at cis.upenn.edu <mailto:matuszek at cis.upenn.edu> >>>> _______________________________________________ >>>> Freeride-users mailing list >>>> Freeride-users at rubyforge.org <mailto:Freeride-users at rubyforge.org> >>>> http://rubyforge.org/mailman/listinfo/freeride-users >>>> >>>> >>>> >>>>------------------------------------------------------------------------ >>>> >>>>_______________________________________________ >>>>Freeride-users mailing list >>>>Freeride-users at rubyforge.org >>>>http://rubyforge.org/mailman/listinfo/freeride-users >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>Freeride-users mailing list >>>Freeride-users at rubyforge.org >>>http://rubyforge.org/mailman/listinfo/freeride-users >>> >>> >>> >>> >>> >>> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>Freeride-users mailing list >>Freeride-users at rubyforge.org >>http://rubyforge.org/mailman/listinfo/freeride-users >> >> >_______________________________________________ >Freeride-users mailing list >Freeride-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/freeride-users > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/freeride-users/attachments/20060601/bb7b049c/attachment-0001.htm
And there we have it :-) The interpreter you chose is rubyw.exe, try changing it to ruby.exe (minus the w). See http://www.rubycentral.com/book/win32.html under the heading Running Ruby Under Windows >> In these cases, you''ll want to use |rubyw.exe|. It is the same as |ruby.exe| except that it does not provide standard in, standard out, or standard error, and does not launch a DOS shell when run. >> You can change the interpreter in Edit -> Preferences -> Installed Ruby Interpreters. It should work. Please let me know. Jonathan Dave Matuszek wrote:>Hi Jonathan, > >I added ''puts command'' just before the ''command'' return value. >Here''s the result (sorry about the wrap). > >C:\Programming\FreeRIDE>freeruby-win\bin\ruby.exe -rubygems freeride.rb >start CMD /C C:\Programming\InstantRails\ruby\bin/rubyw.exe -C >"C:/WorkspaceRuby >" -r >"C:/Programming/FreeRIDE/plugins/rubyide_tools_fox_script_runner/script_sta >rter_with_pause.rb" "C:\WorkspaceRuby\what.rb" > >I sure don''t see anything in the log file that looks like an >error report. > >--Dave > >2006-06-01 17:01:07 :: [INFO] --- FreeRIDE Started on Thu Jun 01 >17:01:06 Eastern Standard Time 2006 >2006-06-01 17:01:07 :: [INFO] Plugin(rubyide_gui-outputpane): >OutputPane plugin started >2006-06-01 17:01:07 :: [INFO] Plugin(rubyide_fox_gui-appframe): >AppFrame started >2006-06-01 17:01:07 :: [INFO] Plugin(rubyide_fox_gui-appframe): Dockbar >UI components positioned OK! >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-statusbar): Status >Bar 1 started >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-toolbar): ToolBar >1 started >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): >iconpath : C:/Programming/FreeRIDE/plugins/rubyide_fox_gui/icons/editor.png >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): >iconpath : C:/Programming/FreeRIDE/plugins/rubyide_fox_gui/icons/fonts.png >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-menubar): MenuBar >1 started >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockbar): DockBar >south started >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockbar): DockBar >south created >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockbar): DockBar >west started >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockbar): DockBar >west created >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): >DockPane Renderer for /system/ui/components/DockPane/Output View/ created >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-outputpane): >OutputPane Renderer plugin started >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): >Reparenting /system/ui/components/DockPane/Output View/ to >/system/ui/components/DockBar/south >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): >DockPane Renderer for /system/ui/components/DockPane/File View/ created >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): >Reparenting /system/ui/components/DockPane/File View/ to >/system/ui/components/DockBar/west >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_tools_fox_file_browser): >FileBrowser plugin is running >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): >DockPane Renderer for /system/ui/components/DockPane/Source View/ created >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): >Reparenting /system/ui/components/DockPane/Source View/ to >/system/ui/components/DockBar/west >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_tools_fox_source_browser): >SourceBrowser plugin started >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): >DockPane Renderer for /system/ui/components/DockPane/Project Explorer/ >created >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-dockpane): >Reparenting /system/ui/components/DockPane/Project Explorer/ to >/system/ui/components/DockBar/west >2006-06-01 17:01:08 :: [INFO] >Plugin(rubyide_tools_fox_project_explorer): ProjectExplorer is running >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_project): Opening project >files >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): Setting >All Editpane properties >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): >EditPane created >2006-06-01 17:01:08 :: [INFO] Plugin(rubyide_fox_gui-editpane): >iconpath : >C:/Programming/FreeRIDE/plugins/rubyide_fox_gui/icons/modified.png >2006-06-01 17:01:08 :: [INFO] >Plugin(rubyide_tools_fox_project_explorer): Adding project JustTesting >to project-explorer >2006-06-01 17:01:09 :: [INFO] >Plugin(rubyide_tools_fox_project_explorer): ProjectExplorer started >succesfully > > >Jonathan Maasland wrote: > > >>Dave, >> >>I''m sorry the proposed solution didn''t work. Looking at the code right >>now I haven''t a clue where it might go amiss. Could you tell me which >>specific version of Ruby you are using? (ruby -v) >>Are you running Windows XP or 98/ME? >> >>If you have the time could you add a "puts command" to >>plugins/rubyide_tools_fox_script_runner/script_runner.rb on line 235, at >>the end of the construct_run_command and tell me what it reads? >> >>Also you could look at %USERPROFILE%/freeride/config/freeride.log to see >>if it mentions something odd. >> >>Thanks very much for the feedback thusfar. >> >>Kind regards, >>Jonathan >> >>Dave Matuszek wrote: >> >> >> >>>Hi Jonathan, >>> >>>Trying your suggestion, I first get: >>> >>> >ruby C:\Ruby\hello.rb >>> *** WARNING *** Windows users should check the "Run process in >>> terminal" check box in the Debugger Preferences >>> to see STDOUT and STDERR output in real time. >>> >exit >>> >>>but still no output. Checking the indicated check box makes this >>>message go away, and when I run my program >>> >>> puts "Hello" >>> >>>now a DOS window flashes on the screen. I think that window also has >>>no output in it; at any rate, changing my program to read >>> >>> puts "Hello" >>> for i in 1..1000000 >>> puts i >>> end >>> >>>makes no visible difference. (Also adding a ''gets'' in the program >>>has no visible effect.) >>> >>>I now think the program just isn''t being run, because adding a few >>>zeros to the above doesn''t slow anything down. Maybe I''m not using >>>the IDE correctly? I have the edit tab open to this program, and >>>I choose Run -> Run, or I hit F5. Is there something special I should >>>do to "bless" this file? In all cases, I just get the DOS flash. >>>I know FreeRIDE is _finding_ Ruby, because its irb works fine. >>> >>>Thanks, >>> Dave >>> >>> >>>Jonathan Maasland wrote: >>> >>> >>> >>> >>>>Hi Dave, >>>> >>>>Do I understand correctly that you''ve managed to get FreeRIDE itself >>>>working, but when you execute a script you can''t see the output it >>>>should produce? If that''s the case then I might a have solution. >>>> >>>>Attached to this email are two files: fox_debugger_configurator.rb and >>>>script_runner.rb, copy these file to respectively: >>>>plugins\rubyide_tools_fox_debugger and >>>>plugins\rubyide_tools_fox_script_runner. Be sure to rename the old >>>>files, just in case it fails to work. When executing a script you should >>>>see the output in a DOS-box, granted that you''ve checked the "Run in >>>>terminal" preference. >>>> >>>>If, on your other machine, you can''t get FreeRIDE itself to work it >>>>usually is a problem with an old configuration file as Curt pointed out. >>>> >>>>I hope this helps, please let me/us know in either case. >>>> >>>>With kind regards >>>>Jonathan >>>> >>>>Dave Matuszek wrote: >>>> >>>> >>>> >>>> >>>> >>>>>Hi Curt. Thanks for the very prompt reply; I wish I could try >>>>>it out right away, but I''m currently at work (where FreeRIDE >>>>>appears to work, I just never get any output). >>>>> >>>>>Nevertheless, I tried running directly from run.bat--as expected, >>>>>FreeRIDE works as before (runs, no output). >>>>> >>>>>Not sure what you meant by "%USERPROFILE%\freeride". I did find >>>>>a directory "Matuszek/freeride", but deleting (actually, renaming) >>>>>that caused FreeRIDE to ask for a Ruby interpreter. I found one >>>>>(the one used by Eclipse; everything I download includes yet another >>>>>Ruby interpreter), but FreeRIDE didn''t like that one, so I reverted >>>>>to the old directory. >>>>> >>>>>Sorry to be such a nuisance, but I hope you''ll continue to help >>>>>me with this. >>>>> >>>>>--Dave >>>>> >>>>> >>>>>Curt Hibbs wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>I''m assuming you''re running the one-click installer, and the FreeRIDE it >>>>>>contains. >>>>>> >>>>>>Open a command window and navigate to to ruby\freeride and then type >>>>>>"run.bat". Now, if there are any error messages, they won''t disappear a >>>>>>fraction of a second later. >>>>>> >>>>>>You can also try deleting the saved FreeRIDE preference files by >>>>>>deleting the directory %USERPROFILE%\freeride (it will be automatically >>>>>>recreated the next time you run FreeRIDE). >>>>>> >>>>>>Curt >>>>>> >>>>>>On 6/1/06, *Dave Matuszek* <matuszek at cis.upenn.edu >>>>>><mailto:matuszek at cis.upenn.edu>> wrote: >>>>>> >>>>>> I''m trying to get ready to teach a Ruby class later this >>>>>> summer, and I was hoping to use FreeRIDE. It looks nice, >>>>>> it just doesn''t work at all. >>>>>> >>>>>> On my office machine, if I enter a program such as: >>>>>> puts "Hello" >>>>>> and try to run it, I get: >>>>>> >ruby C:\Ruby\hello.rb >>>>>> >exit >>>>>> >>>>>> On my computer at home I somehow managed to get output from >>>>>> one program, but not from another. In the process of moving >>>>>> files, uninstalling and reinstalling FreeRIDE, I apparently >>>>>> broke something, and now when I open FreeRIDE it opens for >>>>>> a fraction of a second and immediately quits. Probably I >>>>>> screwed up the registry or something (I''m a programmer, not >>>>>> a sysadmin). Unless some sainted person is willing to give me >>>>>> explicit instructions on how to recover, I''ll have to count >>>>>> FreeRIDE as forever dead on that machine. >>>>>> >>>>>> BTW, the Eclipse RDT plugin works great; but not all of my >>>>>> students will know Eclipse. >>>>>> >>>>>> Thanks for any help anyone can give me. And apologies if I''m >>>>>> posting in the wrong place (I''m a Ruby newbie....) >>>>>> >>>>>> --Dave Matuszek >>>>>> matuszek at cis.upenn.edu <mailto:matuszek at cis.upenn.edu> >>>>>> _______________________________________________ >>>>>> Freeride-users mailing list >>>>>> Freeride-users at rubyforge.org <mailto:Freeride-users at rubyforge.org> >>>>>> http://rubyforge.org/mailman/listinfo/freeride-users >>>>>> >>>>>> >>>>>> >>>>>>------------------------------------------------------------------------ >>>>>> >>>>>>_______________________________________________ >>>>>>Freeride-users mailing list >>>>>>Freeride-users at rubyforge.org >>>>>>http://rubyforge.org/mailman/listinfo/freeride-users >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>_______________________________________________ >>>>>Freeride-users mailing list >>>>>Freeride-users at rubyforge.org >>>>>http://rubyforge.org/mailman/listinfo/freeride-users >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>------------------------------------------------------------------------ >>>> >>>>_______________________________________________ >>>>Freeride-users mailing list >>>>Freeride-users at rubyforge.org >>>>http://rubyforge.org/mailman/listinfo/freeride-users >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>Freeride-users mailing list >>>Freeride-users at rubyforge.org >>>http://rubyforge.org/mailman/listinfo/freeride-users >>> >>> >>> >>> >>> >>> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>Freeride-users mailing list >>Freeride-users at rubyforge.org >>http://rubyforge.org/mailman/listinfo/freeride-users >> >> >_______________________________________________ >Freeride-users mailing list >Freeride-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/freeride-users > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/freeride-users/attachments/20060602/937394fb/attachment-0001.htm
On Jun 2, 2006, at 5:01 AM, Jonathan Maasland wrote:> And there we have it :-) > The interpreter you chose is rubyw.exe, try changing it to ruby.exe > (minus the w). > See http://www.rubycentral.com/book/win32.html under the heading > Running Ruby Under Windows > >> > In these cases, you''ll want to use rubyw.exe. It is the same as > ruby.exe except that it does not provide standard in, standard out, > or standard error, and does not launch a DOS shell when run. > >> > > You can change the interpreter in Edit -> Preferences -> Installed > Ruby Interpreters. > > It should work. Please let me know. > > JonathanThanks!!!! I''m at home today. Once I got rid of a bad %USERPROFILE%\freeride directory, FreeRIDE worked--the interpreter was already set to ruby.exe. I fully expect it to work in my office when I make that change. I''ve been mildly curious about XXX.exe vs.XXXw.exe files; but configuration and sysadmin stuff is definitely NOT my forte... so thanks for that also. FreeRIDE seems to work fine on Windows with or without the "Run process in terminal" checked, but I''ll keep it checked. Thanks again, Dave