From matt.mower at gmail.com Sun Feb 20 09:33:18 2005 From: matt.mower at gmail.com (Matt Mower) Date: Sun Feb 20 09:29:36 2005 Subject: [Rubyinstaller-users] Problem with rubyw Message-ID: Hi, I've been trying to use rubyw to execute apps without the command window however I get the following error seemingly from every ruby program I try. --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: C:\ruby\bin\rubyw.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. --------------------------- OK --------------------------- I've tried re-installing the latest version of the 1-click installer but I still get the same problem. I've had no problems with ruby.exe. Can anyone shed any light on this problem? Platform is Windows XP-SP1. Many thanks, Matt -- Matt Mower :: http://matt.blogs.it/ From curt at hibbs.com Mon Feb 21 09:59:05 2005 From: curt at hibbs.com (Curt Hibbs) Date: Mon Feb 21 09:55:25 2005 Subject: [Rubyinstaller-users] Problem with rubyw In-Reply-To: Message-ID: Matt Mower wrote: > > I've been trying to use rubyw to execute apps without the command > window however I get the following error seemingly from every ruby > program I try. > > --------------------------- > Microsoft Visual C++ Runtime Library > --------------------------- > Runtime Error! > > Program: C:\ruby\bin\rubyw.exe > > > > This application has requested the Runtime to terminate it in an > unusual way. > Please contact the application's support team for more information. > > > --------------------------- > OK > --------------------------- > > I've tried re-installing the latest version of the 1-click installer > but I still get the same problem. I've had no problems with ruby.exe. > Can anyone shed any light on this problem? > > Platform is Windows XP-SP1. Are you saying that ruby.exe works but rubyw.exe does not? Try ruby.exe and rubyw.exe on a very simple script (say, one that writes "hello world" to a text file). Curt From matt.mower at gmail.com Mon Feb 21 11:40:32 2005 From: matt.mower at gmail.com (Matt Mower) Date: Mon Feb 21 11:36:50 2005 Subject: [Rubyinstaller-users] Problem with rubyw In-Reply-To: References: Message-ID: Hi Curt, On Mon, 21 Feb 2005 08:59:05 -0600, Curt Hibbs wrote: > > I've been trying to use rubyw to execute apps without the command > > window however I get the following error seemingly from every ruby > > program I try. > > > Are you saying that ruby.exe works but rubyw.exe does not? > That's right. I have no problems with ruby.exe. > Try ruby.exe and rubyw.exe on a very simple script (say, one that writes > "hello world" to a text file). > I wrote such a program and here rubyw.exe doesn't abort. In my experience the problem seems to happen just after the app opens a window -- i.e. the window is drawn but no contents & then the program goes bang! It happens with fxirb and fxri. Does that help? M -- Matt Mower :: http://matt.blogs.it/ From curt at hibbs.com Mon Feb 21 12:54:30 2005 From: curt at hibbs.com (Curt Hibbs) Date: Mon Feb 21 12:50:49 2005 Subject: [Rubyinstaller-users] Problem with rubyw In-Reply-To: Message-ID: Matt Mower wrote: > > Hi Curt, > > On Mon, 21 Feb 2005 08:59:05 -0600, Curt Hibbs wrote: > > > I've been trying to use rubyw to execute apps without the command > > > window however I get the following error seemingly from every ruby > > > program I try. > > > > > > Are you saying that ruby.exe works but rubyw.exe does not? > > > > That's right. I have no problems with ruby.exe. > > > Try ruby.exe and rubyw.exe on a very simple script (say, one that writes > > "hello world" to a text file). > > > > I wrote such a program and here rubyw.exe doesn't abort. In my > experience the problem seems to happen just after the app opens a > window -- i.e. the window is drawn but no contents & then the program > goes bang! > > It happens with fxirb and fxri. > > Does that help? Sounds like you might be having a problem with the FXRuby package that comes with the one-click installer. Try updating to the latest version of FXRuby by opening a command window and running the command "gem update". This will update all installed RubyGems (including FXRuby) to their latest versions. It will ask you to select the version and platform of FXRuby to install -- you want choice #1 (fxruby 1.2.3 for mswin32). Curt From matt.mower at gmail.com Mon Feb 21 18:29:23 2005 From: matt.mower at gmail.com (Matt Mower) Date: Mon Feb 21 18:25:38 2005 Subject: [Rubyinstaller-users] Problem with rubyw In-Reply-To: References: Message-ID: On Mon, 21 Feb 2005 11:54:30 -0600, Curt Hibbs wrote: > Sounds like you might be having a problem with the FXRuby package that comes > with the one-click installer. Try updating to the latest version of FXRuby > by opening a command window and running the command "gem update". This will > update all installed RubyGems (including FXRuby) to their latest versions. > It will ask you to select the version and platform of FXRuby to install -- > you want choice #1 (fxruby 1.2.3 for mswin32). > Hmm... I did a gem uninstall for the versions of fxruby I had and then installed 1.2.3 for ms-win32. It did *seem* to make a difference. Now applications paint their window at least once. However I still get the run-time error / abort that I reported before. Regards, Matt -- Matt Mower :: http://matt.blogs.it/ From curt at hibbs.com Tue Feb 22 06:44:32 2005 From: curt at hibbs.com (Curt Hibbs) Date: Tue Feb 22 06:40:45 2005 Subject: [Rubyinstaller-users] Problem with rubyw In-Reply-To: Message-ID: Matt Mower wrote: > > On Mon, 21 Feb 2005 11:54:30 -0600, Curt Hibbs wrote: > > Sounds like you might be having a problem with the FXRuby > package that comes > > with the one-click installer. Try updating to the latest > version of FXRuby > > by opening a command window and running the command "gem > update". This will > > update all installed RubyGems (including FXRuby) to their > latest versions. > > It will ask you to select the version and platform of FXRuby to > install -- > > you want choice #1 (fxruby 1.2.3 for mswin32). > > > > Hmm... I did a gem uninstall for the versions of fxruby I had and then > installed 1.2.3 for ms-win32. > > It did *seem* to make a difference. Now applications paint their > window at least once. However I still get the run-time error / abort > that I reported before. I would post this to ruby-talk along with the console log showing your error. That way Lyle Johnson (the author of FXRuby) and other FXRuby gurus will see it and may recognize the problem. Curt