From matuszek at cis.upenn.edu Thu Jun 1 10:07:58 2006 From: matuszek at cis.upenn.edu (Dave Matuszek) Date: Thu, 01 Jun 2006 10:07:58 -0400 Subject: [FR-users] Cannot get FreeRIDE to work Message-ID: <447EF4BE.8070408@cis.upenn.edu> 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 From curt.hibbs at gmail.com Thu Jun 1 10:18:18 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Thu, 1 Jun 2006 09:18:18 -0500 Subject: [FR-users] Cannot get FreeRIDE to work In-Reply-To: <447EF4BE.8070408@cis.upenn.edu> References: <447EF4BE.8070408@cis.upenn.edu> Message-ID: <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> 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 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 From matuszek at cis.upenn.edu Thu Jun 1 11:56:15 2006 From: matuszek at cis.upenn.edu (Dave Matuszek) Date: Thu, 01 Jun 2006 11:56:15 -0400 Subject: [FR-users] Cannot get FreeRIDE to work In-Reply-To: <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> References: <447EF4BE.8070408@cis.upenn.edu> <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> Message-ID: <447F0E1F.1050904@cis.upenn.edu> 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* > 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 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Freeride-users mailing list > Freeride-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/freeride-users From nochoice at xs4all.nl Thu Jun 1 15:04:05 2006 From: nochoice at xs4all.nl (Jonathan Maasland) Date: Thu, 01 Jun 2006 19:04:05 +0000 Subject: [FR-users] Cannot get FreeRIDE to work In-Reply-To: <447F0E1F.1050904@cis.upenn.edu> References: <447EF4BE.8070408@cis.upenn.edu> <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> <447F0E1F.1050904@cis.upenn.edu> Message-ID: <447F3A25.5070600@xs4all.nl> 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* >> 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 >> >> >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>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 From matuszek at cis.upenn.edu Thu Jun 1 13:14:51 2006 From: matuszek at cis.upenn.edu (Dave Matuszek) Date: Thu, 01 Jun 2006 13:14:51 -0400 Subject: [FR-users] Cannot get FreeRIDE to work In-Reply-To: <447F3A25.5070600@xs4all.nl> References: <447EF4BE.8070408@cis.upenn.edu> <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> <447F0E1F.1050904@cis.upenn.edu> <447F3A25.5070600@xs4all.nl> Message-ID: <447F208B.4080709@cis.upenn.edu> 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* >>> 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 >>> >>> >>> >>>------------------------------------------------------------------------ >>> >>>_______________________________________________ >>>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 From curt.hibbs at gmail.com Thu Jun 1 13:55:57 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Thu, 1 Jun 2006 12:55:57 -0500 Subject: [FR-users] Cannot get FreeRIDE to work In-Reply-To: <447F0E1F.1050904@cis.upenn.edu> References: <447EF4BE.8070408@cis.upenn.edu> <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> <447F0E1F.1050904@cis.upenn.edu> Message-ID: <31d15f490606011055y11c3d822rd665e8940c954ca9@mail.gmail.com> On 6/1/06, 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). 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% > dir and 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* > > 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 > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 From nochoice at xs4all.nl Thu Jun 1 18:23:38 2006 From: nochoice at xs4all.nl (Jonathan Maasland) Date: Thu, 01 Jun 2006 22:23:38 +0000 Subject: [FR-users] Cannot get FreeRIDE to work In-Reply-To: <447F208B.4080709@cis.upenn.edu> References: <447EF4BE.8070408@cis.upenn.edu> <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> <447F0E1F.1050904@cis.upenn.edu> <447F3A25.5070600@xs4all.nl> <447F208B.4080709@cis.upenn.edu> Message-ID: <447F68EA.5000902@xs4all.nl> 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* >>>> 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 >>>> >>>> >>>> >>>>------------------------------------------------------------------------ >>>> >>>>_______________________________________________ >>>>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 From matuszek at cis.upenn.edu Thu Jun 1 18:04:40 2006 From: matuszek at cis.upenn.edu (Dave Matuszek) Date: Thu, 01 Jun 2006 18:04:40 -0400 Subject: [FR-users] Cannot get FreeRIDE to work In-Reply-To: <447F68EA.5000902@xs4all.nl> References: <447EF4BE.8070408@cis.upenn.edu> <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> <447F0E1F.1050904@cis.upenn.edu> <447F3A25.5070600@xs4all.nl> <447F208B.4080709@cis.upenn.edu> <447F68EA.5000902@xs4all.nl> Message-ID: <447F6478.5050308@cis.upenn.edu> 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* >>>>> 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 >>>>> >>>>> >>>>> >>>>>------------------------------------------------------------------------ >>>>> >>>>>_______________________________________________ >>>>>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 From nochoice at xs4all.nl Fri Jun 2 05:01:34 2006 From: nochoice at xs4all.nl (Jonathan Maasland) Date: Fri, 02 Jun 2006 09:01:34 +0000 Subject: [FR-users] Cannot get FreeRIDE to work In-Reply-To: <447F6478.5050308@cis.upenn.edu> References: <447EF4BE.8070408@cis.upenn.edu> <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> <447F0E1F.1050904@cis.upenn.edu> <447F3A25.5070600@xs4all.nl> <447F208B.4080709@cis.upenn.edu> <447F68EA.5000902@xs4all.nl> <447F6478.5050308@cis.upenn.edu> Message-ID: <447FFE6E.90405@xs4all.nl> 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* >>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>>>------------------------------------------------------------------------ >>>>>> >>>>>>_______________________________________________ >>>>>>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 From matuszek at cis.upenn.edu Fri Jun 2 11:50:30 2006 From: matuszek at cis.upenn.edu (David Matuszek) Date: Fri, 2 Jun 2006 11:50:30 -0400 Subject: [FR-users] Cannot get FreeRIDE to work In-Reply-To: <447FFE6E.90405@xs4all.nl> References: <447EF4BE.8070408@cis.upenn.edu> <31d15f490606010718g673a142el65fad7438157fae0@mail.gmail.com> <447F0E1F.1050904@cis.upenn.edu> <447F3A25.5070600@xs4all.nl> <447F208B.4080709@cis.upenn.edu> <447F68EA.5000902@xs4all.nl> <447F6478.5050308@cis.upenn.edu> <447FFE6E.90405@xs4all.nl> Message-ID: <13460391-A014-4028-8F45-52C17FD27444@cis.upenn.edu> 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. > > Jonathan Thanks!!!! 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 From rickwal at iinet.net.au Sun Jun 4 04:19:54 2006 From: rickwal at iinet.net.au (RickWal) Date: Sun, 04 Jun 2006 16:19:54 +0800 Subject: [FR-users] Finally got Freeride to work on win 98 Message-ID: <448297AA.3060408@iinet.net.au> Hi All, I have finally got it to work on windows 98se. Just set an environment variable called USERPROFILE to an appropriate path and bingo. One question? Can ruby source be passed around in and executed from a string. Cheers Rickwal From curt.hibbs at gmail.com Sun Jun 4 05:18:51 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Sun, 4 Jun 2006 04:18:51 -0500 Subject: [FR-users] Finally got Freeride to work on win 98 In-Reply-To: <448297AA.3060408@iinet.net.au> References: <448297AA.3060408@iinet.net.au> Message-ID: <31d15f490606040218y591ca0c3o6c185bf581eee0ff@mail.gmail.com> On 6/4/06, RickWal wrote: > > Hi All, > > I have finally got it to work on windows 98se. > Just set an environment variable called USERPROFILE to an appropriate > path and bingo. > > One question? Can ruby source be passed around in and executed from a > string. Yes, use the eval() method. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/freeride-users/attachments/20060604/250843c2/attachment.htm From laurent at moldus.org Tue Jun 6 16:18:40 2006 From: laurent at moldus.org (Laurent Julliard) Date: Tue, 06 Jun 2006 22:18:40 +0200 Subject: [FR-users] [ANN] FreeRIDE 0.9.6 - The Free Ruby IDE Message-ID: <4485E320.3080800@moldus.org> Version 0.9.6 of FreeRIDE has been released and is available for download! For details and downloads, go to: http://freeride.rubyforge.org/ 0.9.6 is mostly a bug fix release. The goal was to make FreeRIDE more robust and to fix some annoying bugs reported by the users. This includes changes to the debugger, IRB, project manager, etc... See the Changelog for details. **IMPORTANT NOTE** Due to some changes in the FreeRIDE property files users may experience crash at startup time. If this is so delete the directory %USERPROFILE%\freeride (on Windows) or $HOME/.freeride on Linux before starting FreeRIDE again. === FreeRIDE Overview === FreeRIDE aims to be a full-featured, first-class IDE on a par with those available for other languages, with all the best-of-breed features that you would expect in a high-end IDE. Some of FreeRIDE's features include: * Multi-file editing * Syntax highlighting * Auto-indenting * Code Folding * Code Templates * Source navigation by module, class, method, etc. * Integrated Ruby Documentation * Integrated debugging * Written in Ruby for easy extension Some planned features include: * Full internationalization * High-end refactoring support * Remote pair programming In its current state, FreeRIDE cannot yet be called a real IDE although it is already being used by many Ruby developers. What is does have is a stable infrastructure with all the working plumbing needed for the hordes of anxious Ruby developers that want to create plugins to extend the functionality of FreeRIDE. The FreeRIDE team will be working on such FreeRIDE plugins that we will individually release to incrementally improve the FreeRIDE system. Periodically we will rollup these added plugins into new releases of FreeRIDE. Even if you have not officially joined the FreeRIDE team you can still create plugins for you own use, share them with others, or send them to us and we will make them available for download from our project wiki. We may even ask for your permission to include them in the FreeRIDE core distribution. ** IMPORTANT NOTE ** Any help you can provide in testing FreeRIDE, qualifying bugs and (why not) fixing them is really what we need most, especially on Windows where FreeRIDE seems to be less robust than on Linux. Curt Hibbs Laurent Julliard Jonathan Maasland _______________________________________________ Freeride-devel mailing list Freeride-devel at rubyforge.org http://rubyforge.org/mailman/listinfo/freeride-devel From r.fulton at auckland.ac.nz Tue Jun 6 17:08:00 2006 From: r.fulton at auckland.ac.nz (Russell Fulton) Date: Wed, 07 Jun 2006 09:08:00 +1200 Subject: [FR-users] [ANN] FreeRIDE 0.9.6 - The Free Ruby IDE In-Reply-To: <4485E320.3080800@moldus.org> References: <4485E320.3080800@moldus.org> Message-ID: <4485EEB0.9060909@auckland.ac.nz> Hi Laurent, Laurent Julliard wrote: > Version 0.9.6 of FreeRIDE has been released and is available for download! > which versions of fox does .9.6 work with? I remember downloading a previous version and finding that the version of fox that I was using was more recent than the one FreeRide required. If FreeRide still requires particular versions on fox then it would be useful to have this stated prominently on the web site and release announcement. This is not criticism of the project for sticking with older versions of fox (I know there were some major API changes between 1.2 and 1.4) I would just prefer it if it were stated up front so I don't waste time downloading and installing it only to find that it won't work with my version of fox. Cheers, Russell (who would like to use freeride to help build his new Open Source) Log Processing Framework. ;) From laurent at moldus.org Wed Jun 7 02:47:59 2006 From: laurent at moldus.org (Laurent Julliard) Date: Wed, 07 Jun 2006 08:47:59 +0200 Subject: [FR-users] [ANN] FreeRIDE 0.9.6 - The Free Ruby IDE In-Reply-To: <4485EEB0.9060909@auckland.ac.nz> References: <4485E320.3080800@moldus.org> <4485EEB0.9060909@auckland.ac.nz> Message-ID: <4486769F.8060605@moldus.org> Russell, You are right that FR requires FOX 1.2. Because FR has this dependency (as well as many others) the prefered way of installing FreeRIDE is to use the installers (even for Linux). It comes packaged with everything required and you don't have to bother with which version of Ruby/FOX/FXScintilla, etc... is installed on your machine. So see for yourself: go and get the Linux installer, run it and then launch FreeRIDE. It should work like a charm. Laurent Russell Fulton wrote: > Hi Laurent, > > Laurent Julliard wrote: >> Version 0.9.6 of FreeRIDE has been released and is available for download! >> > which versions of fox does .9.6 work with? I remember downloading a > previous version and finding that the version of fox that I was using > was more recent than the one FreeRide required. > > If FreeRide still requires particular versions on fox then it would be > useful to have this stated prominently on the web site and release > announcement. > > This is not criticism of the project for sticking with older versions of > fox (I know there were some major API changes between 1.2 and 1.4) I > would just prefer it if it were stated up front so I don't waste time > downloading and installing it only to find that it won't work with my > version of fox. > > Cheers, Russell (who would like to use freeride to help build his new > Open Source) Log Processing Framework. ;) > > _______________________________________________ > Freeride-users mailing list > Freeride-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/freeride-users > From hulachr at hotmail.com Wed Jun 7 15:10:54 2006 From: hulachr at hotmail.com (Chris Hulan) Date: Wed, 07 Jun 2006 15:10:54 -0400 Subject: [FR-users] [ANN] FreeRIDE 0.9.6 - The Free Ruby IDE In-Reply-To: <4486769F.8060605@moldus.org> Message-ID: Just a note to say thanks for the efforts. On the down side, I have installed it on Win2k and got a couple of crashes with just a few minutes of use. The last crash I ran from a console and discovered it was due to running out of memory. I had opend the Databus Inspector, selected an entry and it hung till it crashed... I'll try it again (at home) on WinXP and see how it goes. I'll submit a detailed bug note when I get a chance to clarify the scenario And if i get some free time (Ha!) I may even have a look at the code... Cheers Chris From somekool at gmail.com Wed Jun 7 22:40:52 2006 From: somekool at gmail.com (Mathieu Jobin) Date: Thu, 8 Jun 2006 11:40:52 +0900 Subject: [FR-users] Mac OS X and Japanese Message-ID: <78181ce60606071940i5ead40afw6b8bc255a59b736c@mail.gmail.com> Hello I got two questions 1 - can I install freeride on OS X ? I have not find a download link for OS X 2 - can I type double-width chars in freeride ? I need it for japanese. thanks -- Everyone is trying their hardest to do their job but management has set it up so that it's impossible. Take the control over your money, track your expenses http://justbudget.com Mathieu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/freeride-users/attachments/20060608/20476710/attachment.htm From matuszek at cis.upenn.edu Wed Jun 7 23:47:38 2006 From: matuszek at cis.upenn.edu (David Matuszek) Date: Wed, 7 Jun 2006 23:47:38 -0400 Subject: [FR-users] Mac OS X and Japanese In-Reply-To: <78181ce60606071940i5ead40afw6b8bc255a59b736c@mail.gmail.com> References: <78181ce60606071940i5ead40afw6b8bc255a59b736c@mail.gmail.com> Message-ID: On Jun 7, 2006, at 10:40 PM, Mathieu Jobin wrote: > Hello I got two questions > > 1 - can I install freeride on OS X ? I have not find a download > link for OS X Not easily. As far as I can tell, the only reasonably simple approach is to install DarwinPorts, http://darwinports.org/getdp/, then go to http://freeride.rubyforge.org/wiki/wiki.pl?MacOS for the command to get and install FreeRIDE. If you try this, let me know how it works--I should do it also. > 2 - can I type double-width chars in freeride ? I need it for > japanese. Ruby itself uses ASCII (pretty strange, considering that the inventor is himself Japanese), so I doubt that FreeRIDE allows double-width characters. Dave Matuszek > thanks > > -- > Everyone is trying their hardest to do their job but management has > set it up so that it's impossible. > Take the control over your money, track your expenses http:// > justbudget.com > > Mathieu > _______________________________________________ > Freeride-users mailing list > Freeride-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/freeride-users From r.fulton at auckland.ac.nz Thu Jun 8 00:40:59 2006 From: r.fulton at auckland.ac.nz (Russell Fulton) Date: Thu, 08 Jun 2006 16:40:59 +1200 Subject: [FR-users] Mac OS X and Japanese In-Reply-To: References: <78181ce60606071940i5ead40afw6b8bc255a59b736c@mail.gmail.com> Message-ID: <4487AA5B.5020007@auckland.ac.nz> David Matuszek wrote: > On Jun 7, 2006, at 10:40 PM, Mathieu Jobin wrote: > >> Hello I got two questions >> >> 1 - can I install freeride on OS X ? I have not find a download >> link for OS X > > Not easily. As far as I can tell, the only reasonably simple > approach is to install DarwinPorts, http://darwinports.org/getdp/, > then go to http://freeride.rubyforge.org/wiki/wiki.pl?MacOS for > the command to get and install FreeRIDE. If you try this, let > me know how it works--I should do it also. > I tried this recently and killed it when it started to install a different version of ruby (it did not figure out that the Apple supplied version was installed). Russell From curt.hibbs at gmail.com Thu Jun 8 00:49:29 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Wed, 7 Jun 2006 23:49:29 -0500 Subject: [FR-users] Mac OS X and Japanese In-Reply-To: <4487AA5B.5020007@auckland.ac.nz> References: <78181ce60606071940i5ead40afw6b8bc255a59b736c@mail.gmail.com> <4487AA5B.5020007@auckland.ac.nz> Message-ID: <31d15f490606072149t74e887c8ie8dc7f0e521b1cfd@mail.gmail.com> On 6/7/06, Russell Fulton wrote: > > > > David Matuszek wrote: > > On Jun 7, 2006, at 10:40 PM, Mathieu Jobin wrote: > > > >> Hello I got two questions > >> > >> 1 - can I install freeride on OS X ? I have not find a download > >> link for OS X > > > > Not easily. As far as I can tell, the only reasonably simple > > approach is to install DarwinPorts, http://darwinports.org/getdp/, > > then go to http://freeride.rubyforge.org/wiki/wiki.pl?MacOS for > > the command to get and install FreeRIDE. If you try this, let > > me know how it works--I should do it also. > > > > I tried this recently and killed it when it started to install a > different version of ruby (it did not figure out that the Apple supplied > version was installed). > > Russell > 1) FreeRIDE supplies its own version of Ruby strictly for running itself and does not interfere with any other version of Ruby installed (which is still used to run your Ruby programs). This is true an all platforms. 2) My understanding is that the version of Ruby included by Apple is broken, and you should replace it. This is independent of #1 above. 3) I'm not an Mac person, but I believe there are some special considerations for getting FXRuby/Fox working on OS X (this is what FreeRIDE uses for its GUI). Maybe this is no longer an issue... I don't know, but it used to be. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/freeride-users/attachments/20060607/338f6f15/attachment.htm From matuszek at cis.upenn.edu Thu Jun 8 11:49:53 2006 From: matuszek at cis.upenn.edu (Dave Matuszek) Date: Thu, 08 Jun 2006 11:49:53 -0400 Subject: [FR-users] No output (again) Message-ID: <44884721.4020500@cis.upenn.edu> I have two FreeRIDE installations: at home, and in my office at U Penn. At home, thanks to advice from Curt Hibbs and Jonathan Maasland, I managed to get output from a Ruby program in FreeRIDE; by deleting %USERPROFILE%\freeride, and by setting my interpreter from rubyw.exe to ruby.exe. Also, happily, the "Run process in terminal" switch works: checked, output to DOS window; unchecked, output to FreeRIDE window. None of this works at U Penn. No output, either from 0.9.5 or 0.9.6. Both systems are XP. Any more suggestions? Thanks, Dave It shouldn't be this hard to get output. And I shouldn't _ever_ have to look for it in a DOS window. Sorry, had to say that. From RDuzenbury at theimg.net Fri Jun 30 15:46:00 2006 From: RDuzenbury at theimg.net (Duzenbury, Rich) Date: Fri, 30 Jun 2006 14:46:00 -0500 Subject: [FR-users] Windows version string Message-ID: <3DAC99C5454B4647BCD656A59765F026FE9D11@BILTD09.panora.local> Hi, I installed freeride on a windows box and a linux box today. In help | about on Linux, the reported version is 0.9.6 On windows, it's reported as 0.9.5. The install binary I used on windows is called freeride-win-installer-0.9.6.exe The reason I noticed is the 'File extensions visible in File View' did not include *.rhtml. I added *.rhtml, but it is still not recognized in any of the File View or Source View windows. Don't know if that is a bug that was fixed in 0.9.6. It works correctly on Linux, but not windows. Also, Is there any way to refresh the file view or Project explorer view, other than exiting and restarting? Thanks for a nifty editor. Regards, Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/freeride-users/attachments/20060630/4dacbde7/attachment.html